COMP9024 - Data Structures & Algorithms (UNSW)
Cards in this deck
(20 cards)Preview terms and definitions before starting your study session.
- Big- (): Asymptotic lower bound. Exists such that for all .
- Big- (): Asymptotic tight bound. and simultaneously.
1. If , then .
2. If , then .
3. If and regularity holds, then .
FIFO).- Time Complexity:
- Space Complexity:
- Key Property: Finds the shortest path in an unweighted graph.
LIFO) or recursion.- Time Complexity:
- Space Complexity:
- Applications: Topological sorting, detecting cycles, finding strongly connected components.
- Strategy: Greedy selection using a Priority Queue (
Min-Heap). - Time Complexity: with Binary Heap; with Fibonacci Heap.
- Failure Case: Fails on graphs with negative edge weights.
- Strategy: Relaxes all edges times.
- Time Complexity:
- Space Complexity:
- Data Structure: Uses a Disjoint-Set / Union-Find data structure with Path Compression.
- Time Complexity: or due to edge sorting.
Related Flashcard Sets
Explore similar study materials created by the community
MONASH MTH2010 - Multivariable Calculus & Vector Calculus
Master Monash MTH2010 with this high-yield flashcard deck, covering essential multivariable and vector calculus concepts. Dive deep into partial derivatives, multiple integrals, and fundamental theorems like Green's, Stokes', and Divergence Theorem for exam success.
SYDNEY CHEM1111 - Chemical Bonding, Thermochemistry & Chemical Equilibrium
Master core University of Sydney CHEM1111 chemistry topics including VSEPR theory, Hess's Law, Gibbs free energy, and chemical equilibrium. Ideal for high-yield first-year chemistry exam preparation.
GCP Associate Cloud Engineer - Cloud IAM, Compute Engine & Networking
Master Google Cloud IAM, Compute Engine, and Networking essentials for the Associate Cloud Engineer exam. This high-yield deck covers primitive/predefined/custom roles, VPC configurations, `gcloud` deployments, and GKE administration to ensure your exam success.
JLPT N4 - Intermediate Japanese Grammar, Particles & High-Frequency Kanji
Master essential JLPT N4 Japanese grammar, particles, and high-frequency kanji with this comprehensive flashcard deck. Bridge the gap to intermediate fluency by conquering key structures like conditionals, potential forms, and crucial compound vocabulary.