Hello everyone,
I’m curious about how other people approach learning a new algorithm or data structure in competitive programming, especially when it comes to actually retaining it and using it reliably under contest pressure.
When you pick up something new, I’d love to know:
- How do you study it so it sticks? Do you read editorials first, trace examples by hand, implement it from scratch without looking at code, or just spam problems until the pattern clicks?
- How long does it usually take you to feel master it? Like, from first seeing the idea to being able to spot when to apply it and code it cleanly without silly bugs that a few days, a couple of weeks, or something you revisit over months?
- One at a time or multiple at once? Do you stick to one topic until you feel solid before moving on, or do you juggle a few topics in general problem solving so you don't get burned out or overfit to a single tag?
I feel like everyone has a pretty different workflow here, and hearing what actually works for you (and what doesn't) would be super helpful. Thanks in advance!




