chilliagon's blog

By chilliagon, history, 7 weeks ago, In English

Hello everyone! I was wondering what algorithms should we start learning first , now that school exams are over I am planning to practice and learn more!
Thanks in advance!
Sorry for my bad english!

 
 
 
 
  • Vote: I like it
  • +15
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Two pointers

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

I guess start with basics first like sorting,searching then move to some good algos like prime seive two pointer etc

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

You can start reading CP handbook and solve problems on CSES Problemset accordingly with each concepts.

»
7 weeks ago, # |
  Vote: I like it +3 Vote: I do not like it

I recommend learning prefix sums, binary search the answer and two pointers. Then brute force algos like bitmasking, meet in the middle and recursion etc. Then basic dp, math and number theory algos including combinatorics.