Data Structures and Algorithms Question Sheets
Topic-wise Data Structures and Algorithms question sheets — 200 questions across 8 topics. Open each sheet online and tick questions as you solve them.
Complexity Analysis and Recursion Interview Questions
Learn to measure algorithms with Big-O, Big-Omega and Big-Theta, analyse time and space, and estimate whether a solution fits the constraints. Then…
Arrays, Strings and Hashing Interview Questions
Arrays and strings appear in most coding rounds. Learn two pointers, sliding window, prefix sums, Kadane's algorithm and in-place techniques, along…
Linked Lists, Stacks and Queues Interview Questions
Understand singly, doubly and circular linked lists, pointer manipulation, dummy nodes and Floyd's cycle detection. Learn stacks, queues, deques and…
Trees and Binary Search Trees Interview Questions
Learn binary tree terminology and traversals, binary search trees, balanced trees such as AVL and red-black trees, tries, segment trees and Fenwick…
Heaps, Priority Queues and Greedy Interview Questions
Learn binary heaps, heapify, heap sort and priority queues in Java and Python, and patterns such as top K, merge K sorted lists and running median…
Graphs and Graph Algorithms Interview Questions
Represent graphs with adjacency lists and matrices, then master BFS, DFS, connected components, cycle detection, bipartite checks and topological…
Dynamic Programming Interview Questions
Learn to recognise overlapping subproblems and optimal substructure, define states and transitions, and convert recursion into memoised or tabulated…
Sorting, Searching and Backtracking Interview Questions
Understand merge sort, quicksort, heap sort, counting and radix sort, stability and the n log n lower bound, plus Timsort and quickselect. Master…
Frequently asked questions
What are question sheets?
Topic-wise lists of Data Structures and Algorithms interview questions with answers — 200 questions across 8 topics. Tick questions as you solve them; progress is saved in your browser.
Which sheet should I start with?
Start with Complexity Analysis and Recursion, then Arrays, Strings and Hashing. Use the role-wise pages to see which topics matter most for the job you want.