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.
Define Big O notation.
Think about how we express algorithm efficiency.
What is the purpose of proving an algorithm's correctness?
Consider the impact of incorrect algorithms.
What does Big O notation measure?
Consider how Big O is defined.
True or False: All greedy algorithms provide an optimal solution.
Consider examples where greedy does not yield the best result.
Propose an algorithm that uses the greedy approach to solve the change-making problem. Discuss its efficiency and potential drawbacks.
Consider coin denominations and how greedy selection might lead to suboptimal solutions.
Given an array, devise a divide and conquer algorithm to find the maximum element. Explore the time complexity of your solution.
Reflect on how you are breaking the problem down into smaller pieces.
6 more questions in this section. Enroll free to practise them all.
Enroll free