0
How can i start with competitive programming?
When i saw the question on codeforces, code jam etc i was not able to understand anything.so what should i learn for competitive programming and what type of maths is required for it?
1 Resposta
+ 2
Choose a language and start with the basics. For every topic study the theory part first. You can't write a program without theory knowledge.
To excel competitive programming you have to be clear with concepts like Data structures, searching and sorting algorithms, recursion and back tracking and more.
Start from solving simple programs like getting inputs, performing basic operations, strings, arrays and move to complex programs.
You can practice topic wise on hackerrank or hackerearth.
For any problem, Read the questions slowly till you understand them. After being clear on what is asked, figure out the logic. Solve the sample test cases first. And finally try solving the whole problem.
Competitive programming can be challenging, but practice is the key.