Skip to content

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.

25 questions

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…

9 Easy12 Medium4 Hard
25 questions

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…

9 Easy12 Medium4 Hard
25 questions

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…

8 Easy11 Medium6 Hard
25 questions

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…

7 Easy13 Medium5 Hard
25 questions

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…

6 Easy13 Medium6 Hard
25 questions

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…

7 Easy13 Medium5 Hard
25 questions

Dynamic Programming Interview Questions

Learn to recognise overlapping subproblems and optimal substructure, define states and transitions, and convert recursion into memoised or tabulated…

6 Easy12 Medium7 Hard
25 questions

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…

8 Easy9 Medium8 Hard

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.