OCR A-Level Computer Science Algorithms and complexity overview quiz quiz
12questions. Pick an answer and you'll see why right away.
What is the worst-case time complexity of linear search?
Binary search achieves time because it
Which sorting algorithm has worst-case time complexity ?
Merge sort works by
Quick sort's worst-case time complexity is
A breadth-first traversal uses which data structure?
Which binary tree traversal outputs a binary search tree's values in ascending order?
Dijkstra's algorithm requires that the graph's edge weights are
How does A* differ from Dijkstra's algorithm?
In Big-O notation, is written as
Which complexity class is the most efficient for large ?
An algorithm has one loop running times with another loop running times inside it. Its time complexity is