Performance analysis: time and space complexity, asymptotic notation and recurrence relations. - Online Test
30:00
1. What does Big O notation primarily describe?
2. Which of the following represents the best-case time complexity?
3. Theta notation (Θ) provides:
4. Which asymptotic notation is typically used to express the worst-case time complexity?
5. Consider an algorithm with a time complexity of O(n^2). If the input size doubles, how does the execution time approximately change?
6. What is the space complexity of an algorithm?
7. Which of the following is NOT an example of an asymptotic notation?
8. What is the time complexity of accessing an element in an array by its index?
9. What is the time complexity of searching for an element in an unsorted array using linear search?
10. What is the time complexity of binary search on a sorted array?
Test Results
0/0