How can i start with competitive programming? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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?

4th Apr 2020, 12:06 PM
Abdullah Memon
Abdullah Memon - avatar
1 Réponse
+ 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.
4th Apr 2020, 2:46 PM
Abirame Dhevendran
Abirame Dhevendran - avatar