A problem is usually called tractable if:
- AIt can only be solved by trying every possibility
- BIt can be solved in polynomial time
- CIt has no solution
- DIt can be solved in constant time
A problem is usually called tractable if:
What is the running time of counting sort for n integers in the range 0 to k?
An algorithm with two nested loops, each running n times, typically has which complexity?
What is the time complexity of the Bellman–Ford algorithm on a graph with V vertices and E edges?
What is the time complexity of: for i = 1 to n: (j = 1; while j < n: j = j × 2)?
Which algorithm finds the shortest paths from one source in a graph with non-negative edge weights?
Which statement about little-o notation is correct?
What does the recurrence T(n) = 2T(n/2) + n log n solve to?
Full step-by-step solutions: practise this topic on examproblems.com.