mirror of
https://github.com/janishutz/eth-summaries.git
synced 2025-11-25 18:44:24 +00:00
[AD] Update summary to new version of helpers
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
\item \textbf{Approach:} Greedy, vertex-centric.
|
||||
\item \textbf{Time Complexity:}
|
||||
\begin{itemize}
|
||||
\item With an adjacency matrix: \tct{V^2}.
|
||||
\item With a priority queue and adjacency list: \tct{(|V| + |E|) \log(|V|)}.
|
||||
\item With an adjacency matrix: $\tct{V^2}$.
|
||||
\item With a priority queue and adjacency list: $\tct{(|V| + |E|) \log(|V|)}$.
|
||||
\end{itemize}
|
||||
\item \textbf{Space Complexity:} Depends on the graph representation, typically \tct{E + V}.
|
||||
\item \textbf{Space Complexity:} Depends on the graph representation, typically $\tct{E + V}$.
|
||||
\item \textbf{Limitations:} Less efficient than Kruskal's for sparse graphs using adjacency matrices.
|
||||
\end{itemize}
|
||||
\end{properties}
|
||||
|
||||
Reference in New Issue
Block a user