Stage 3 of 10 · 6 lessons · ~4 weeks
Greedy and sorting
Learn to make the locally best choice, prove it is safe with an exchange argument, and use sorting to turn messy problems into one pass. Build the habit of checking ideas with a brute force.
8 more stages, 47 more topics, free with an account.
You have seen the open stages of the Competitive programming roadmap. Every topic it covers is listed above, and an account opens the rest: what each topic means, a question to check yourself, the courses, the practice and Tauseef's advice for every stage. Early access is open: sign up and your account is active shortly after.
Everything here is free to learn from. A few things, like adding a roadmap, keeping a cheat sheet or asking Tauseef a question, use credits. You get 15 when you join, your first roadmap is free, and if you are learning seriously and run out, you can ask for more. Credits only make sure the platform goes to people who are actually learning.