Algorithm Design MCQ Test: Algorithm Design MCQs - Practice Questions
1. What is the time complexity of the 'selection sort' algorithm in the worst case?
2. Which data structure is used to represent hierarchical relationships between elements?
3. Which data structure follows the Last In, First Out (LIFO) principle?
4. In algorithm design, what is 'recursion'?
5. What does the term 'Dijkstra's algorithm' refer to?
6. What is the purpose of the 'Depth-First Search (DFS)' algorithm?
7. What is the time complexity of the 'quick sort' algorithm in the average case?
8. Which of the following is an example of a searching algorithm?
9. What is the primary purpose of the 'heap' data structure?
10. In algorithm design, what does 'NP-hard' mean?