Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the purpose of proving the correctness of an algorithm?
Think about trust in the outcome.
What does Big O notation indicate?
How does input size affect performance?
What is the primary goal of algorithm correctness?
Think about reliability.
Does a greedy algorithm make local or global decisions?
Focus on immediate options.
Consider a scenario where a greedy algorithm seems to work, but testing shows it fails on specific inputs. Discuss why this could happen and what you would recommend.
Reflect on real-world examples where local decisions lead to larger issues.
Explain how you could leverage dynamic programming to optimize a solution to a problem that would traditionally use divide and conquer.
Think about how Fibonacci involves recalculating the same values repeatedly.
4 more questions in this section. Enroll free to practise them all.
Enroll free