Data Structures and Algorithms – Multiple Choice Questions (MCQs)
-
-
26. What is a max-heap?
-
27. What is a graph data structure?
-
28. What is a directed graph?
-
29. What is an undirected graph?
-
30. What is a weighted graph?
-
31. What is Breadth-First Search (BFS)?
-
32. What is Depth-First Search (DFS)?
-
33. What is the time complexity of Breadth-First Search (BFS) in a graph with V vertices and E edges?
-
34. What is the time complexity of Depth-First Search (DFS) in a graph with V vertices and E edges?
-
35. What is a sorting algorithm?
-
36. Which of the following is a comparison-based sorting algorithm?