DEV Community

loading...
Cover image for How to start competitive coding!

How to start competitive coding!

Rishabh Dwivedi
Hello I am Rishabh currently pursuing Btech in CSE from GEC Bilaspur Chhattisgarh
・2 min read

Competitive programming(CP) is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications.

Basic requirement for CP is.

  • Participation

Basically CP demands regular participation on various contest which held over internet.

  • Learning

If you are participation but not learning new concepts then it is of no use. You need to maintain both.

  • Patience

Most important thing you need to learn is patience while doing the problems. Some time you will not get AC or green tick for particular problem but must not loose hope. You need to explore it.

Basic steps in learning Competitive programming:

  1. Choose well known programming language.
    Choosing a correct programming language is great concert here. Although you can do CP in any language but usually C++/C or JAVA is most preferred because of speed and time of execution which is great in this language. Python is slow as compared to C/C++ and JAVA, that's why very less number of programmers used to do Competitive Programming.

  2. Choosing some platform for practising competitive programming.
    There are many platform present where you can practice and take part in contest.
    Some of them are.

    Codechef
    Codeforces
    Leetcode
    GeeksforGeeks
    Hackerrank

  3. Learn Data Structures and Algorithms.
    Data Structures are something that helps you in making the program more efficient. Algorithms are something that use various data structures to implement the logic and solve the program.

Learn them from here.

GeeksforGeeks-DS
GeeksforGeeks-Algo

Last--> Practice practice Practice a lot.
If you want to become excel on that you need to practice and keep learning from your mistake .

Start your journey as soon as possible and enjoy this sports.

Visit my codechef profile--> Rishabh

Follow me here.
Twitter
Linkedln

Thanks for reading.

Discussion (0)