How much extra memory does a standard array-based merge sort use?
- AO(1)
- BO(log n)
- CO(n)
- DO(n²)
How much extra memory does a standard array-based merge sort use?
Which design strategy does merge sort use?
What is O(2ⁿ) growth called?
How many levels does the recursion of merge sort have for an array of n elements?
What does the recurrence T(n) = T(n/2) + O(1) solve to?
What is the time complexity of the Bellman–Ford algorithm on a graph with V vertices and E edges?
The Held–Karp dynamic programming algorithm solves the travelling salesman problem exactly. What is its running time for n cities?
The 0/1 knapsack problem solved with dynamic programming takes O(nW) time. Why is this called pseudo-polynomial?
Full step-by-step solutions: practise this topic on examproblems.com.