next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
1
What is a Graph? Define Vertex, Edge, Degree.
Beginner
2
What is the difference between Directed and Undirected Graphs?
Beginner
3
What is a Weighted Graph?
Beginner
4
What is a Cyclic vs Acyclic Graph?
Beginner
5
What is the difference between a Tree and a Graph?
Beginner
6
Explain Adjacency Matrix. What are its pros and cons?
Intermediate
7
Explain Adjacency List. What are its pros and cons?
Intermediate
8
Which representation is better for Sparse vs Dense graphs?
Beginner
9
Explain Breadth-First Search (BFS). What data structure does it use?
Beginner
10
Explain Depth-First Search (DFS). What data structure does it use?
Beginner
11
What is the time complexity of BFS and DFS?
Beginner
12
What is Topological Sorting? Which algorithm is used?
Advanced
13
How do you detect a cycle in a Directed Graph?
Advanced
14
How do you detect a cycle in an Undirected Graph?
Intermediate
15
Explain Dijkstra's Algorithm. When does it fail?
Advanced
16
Explain Bellman-Ford Algorithm. Why is it slower than Dijkstra?
Advanced
17
What is the difference between Dijkstra and A* (A-star)?
Advanced
18
What is a Minimum Spanning Tree (MST)?
Intermediate
19
Explain Kruskal's Algorithm. Which data structure is crucial for it?
Advanced
20
Explain Prim's Algorithm.
Advanced
21
What is the difference between Kruskal's and Prim's? When is one preferred?
Advanced
22
What is Union-Find (Disjoint Set Union)? Explain Path Compression and Union by Rank.
Advanced
23
What is a Bipartite Graph? How do you check for it?
Advanced
24
How do you find the shortest path in an unweighted graph?
Beginner
25
Explain Strongly Connected Components (Kosaraju/Tarjan).
Advanced
26
What is a Directed Acyclic Graph (DAG)? Why are they important in build systems?
Intermediate
27
How do you solve a Maze using Graph algorithms?
Intermediate
28
Explain Floyd-Warshall Algorithm (All Pairs Shortest Path).
Advanced
29
How do you detect a Deadlock using a Graph?
Advanced
30
What is the difference between Linear Search and Binary Search?
Beginner
31
What is the precondition for Binary Search?
Beginner
32
Write down the time complexities of Bubble, Selection, Insertion Sort.
Beginner
33
Why is Insertion Sort preferred for small or nearly sorted arrays?
Intermediate
34
Explain Merge Sort. What is its time and space complexity?
Intermediate
35
Explain Quick Sort. What is its worst-case complexity? How do you avoid it?
Advanced
36
Compare Merge Sort vs Quick Sort. When do you choose which?
Intermediate
37
What is Heap Sort? How does it work?
Intermediate
38
Is Heap Sort stable? Is Merge Sort stable?
Beginner
39
What is Counting Sort? What are its limitations?
Intermediate
40
What is Radix Sort? How does it handle strings?
Advanced
41
What is the fastest possible time complexity for a comparison-based sort? Why?
Advanced
42
What is the difference between Internal and External Sorting?
Advanced
43
How do you find the k-th largest element in an array?
Advanced
44
How do you find the median of a stream of numbers?
Advanced
45
What is a Bucket Sort? When is it effective?
Intermediate
46
Explain the concept of Stability in sorting. Why does it matter for multi-key sorting?
Intermediate
47
What is a Persistent Data Structure?
Advanced
48
What is a Treap? How does it combine BST and Heap properties?
Advanced
49
What is a Bloom Filter? How do you calculate the False Positive rate?
Advanced
50
What is an LRU Cache? How do you implement it using a Hash Map and Doubly Linked List?
Advanced
51
What is an LFU Cache? How is it different from LRU?
Advanced
52
What is a Suffix Tree/Array? What string problems does it solve?
Advanced
53
What is a Van Emde Boas tree?
Advanced
54
How do you design a Data Structure that supports insert, delete, search, and getRandom in O(1)?
Advanced
55
What is the Median of Medians algorithm? Why is it better than random pivot selection?
Advanced
56
Explain the concept of Cache Oblivious algorithms.
Advanced
57
What is the difference between a Binary Heap and a Fibonacci Heap? Why is Fibonacci Heap theoretically faster for Dijkstra's?
Advanced
58
How are Data Structures used in Database Indexing? (B+ Trees, Hash Indexes)
Advanced
59
How does the Garbage Collector interact with data structures? (Weak references, Gen0/Gen1/Gen2)
Advanced
All Topics
1
Foundations
0/2 topics · 0%
Basics
Complexity Analysis
2
Linear structures
0/4 topics · 0%
Arrays and Strings
Linked Lists
Stacks and Queues
Hash Tables
3
Non-Linear structures
0/2 topics · 0%
Trees
Graphs
Share
this topic
Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.