Loading…
Data Structures & Algorithms · short notes, key points and practice questions.
Non-linear data structures and the algorithm design techniques used on them: binary trees, BSTs, heaps, tries and AVL trees; graph representations, traversals, shortest paths, spanning trees and topological sort; recursion, greedy methods and dynamic programming. Placement MCQs ask for traversal orders, heap arrays after operations, algorithm outputs on small graphs, recursion call counts and recurrence solutions.
Answer: A. Inorder
Answer: B. 6
Answer: C. Θ(n log n)
Answer: C. 80
Answer: B. Queue