Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does it mean for an algorithm to be correct?
Think about the outputs given different valid inputs.
Explain Big O notation in your own words.
Consider how algorithm efficiency is expressed mathematically.
What is the main goal of algorithm correctness?
Consider what makes an algorithm reliable.
True or False: Asymptotic complexity measures the efficiency of an algorithm based on how the running time changes with input size.
Think about the relevance of input size in algorithm analysis.
Create an algorithm to sort a list using the divide and conquer method. Document each step you will take.
Consider how the list is divided and then the methods of combining them.
Evaluate a problem where a greedy approach seems attractive but leads to error. Explain the shortcomings of this approach.
Reflect on scenarios where early choices limit future options.
6 more questions in this section. Enroll free to practise them all.
Enroll free