DEV Community

Discussion on: how to master competitive programming?

Collapse
 
kolaveridi profile image
satyajeet kumar jha • Edited

hey ,
If you plan to learn algorithms and data structures just for interview , i would recommend you to start learning in a topic wise manner and solve problems related to that algo or ds on leetcode .If you don't understand , try looking for how others solved it by watching video tutorials . It is slightly time taking process if you are a noob but this can be done and not so hard.
Cp in general is hard .It's a full time activity so be ready to spend 4-6 hours on a daily basis ifyou can't spend your whole day. Don't learn topic wise instead try solving a problem and if you can't , go through it's editorial and learn the required algorithms and then try going through the editorial again to solve it . It's a time consuming activity and you may or may not show great progress .Again , if you don't enjoy this you won't be able to do it for a longer period say two years or three years.