






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Theoretical Computer Science Cheat Sheet – Advanced Data Structures CS 6310 Study Notes | Data Structures and Algorithms Student’s name Institution Course code Professor Date
Theoretical Computer Science Cheat Sheet – Advanced Data Structures CS 6310 Study Notes | Data Structures and Algorithms
Extract-min/max: O(log n) Heapify: O(n) Fibonacci Heaps Improved amortized time: Insert: O(1) Extract-min: O(log n) amortized. Used in Dijkstra’s algorithm, especially with large graphs.
Perfect Hashing Two-level hashing minimizes collisions. Useful in static datasets, such as compiler symbol tables. Universal Hashing Reduces worst-case scenarios. Randomly selects hash functions from a family.
Union by rank. Time complexity is nearly O(1) with Ackermann’s function.
B-Trees contain keys in internal nodes. B+ Trees store all keys in leaf nodes for faster range queries.
References Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2009). Introduction to algorithms (3rd ed.). MIT Press. Weiss, M. A. (2013). Data structures and algorithm analysis in Java (3rd ed.). Pearson Education. Sedgewick, R., & Wayne, K. (2011). Algorithms (4th ed.). Addison-Wesley. Tarjan, R. E. (1983). Data structures and network algorithms. Society for Industrial and Applied Mathematics.