Should I go for Competitive Programming?

Mr. Red
3 min readJan 23, 2021

--

Before asking this question, we must know what is competitive programming? Competitive programming in simple words is the sport where problems are given and one must find the solution as quick as possible. A solution that is not only correct but also efficient. In short, given the problems, find solutions as quickly as possible.

When should I get started?

One should start competitive programming as soon as possible. As I mentioned earlier, it is an intense sport that requires hard work, commitment and a strong will. Some people begin coding from high school, some from college, some from university but one thing all winners have in common is that they work hard.

Photo by Brett Jordan on Unsplash

What do I need to know?

As guessed from the name, one must know a programming language. Other things that you should learn are as follow:

  1. Calculus and Discrete Mathematics can be considered, without a doubt, as the backbone of competitive programming.
  2. Always try to learn and create new data structures and algorithms. All advanced algorithms are based on some of the basic algorithms. You can explore more on Geeks For Geeks.

Remember not everything is necessary but learning them will give you more advantage.

Choosing a programming language:

One question that is asked by many newcomers is that what language should I use? Let me summarize that for you, following are the most popular programming languages used by top programmers:

  1. C++
  2. Java/C#
  3. Python

Every languages have its advantages. For example: the reason for choosing C++ is that its execution time is very fast. With a vast standard library, C++ is known as the best language among competitors. Other languages are also used because they have their own advantages. For example: Python can handle big integers while C++ cannot. So choosing the right language will definitely gives you an upper hand.

Photo by Markus Spiske on Unsplash

Where I can prepare?

There are numerous online platforms available for your practice. You can start practicing there. There are also dedicated books for preparation like “Competitive Programming 3”. Following are some of platforms I would recommend:

  1. Hacker Rank is a platform for beginners. You can learn and crack some logic there. You can earn badges after gaining more and more points.
  2. Code Forces is another platform for intermediate and advanced programming competitors where you can learn great skills and implement them.

But don’t just rely on these, search out for more as searching is another important concept for competitive programming.

Photo by Roman Synkevych on Unsplash

DO NOT DISAPPOINT

One thing that is most commonly observed is that many enthusiast after losing stop competing. Don’t do that, I repeat, never do that. This is just a battle and you have a war to WIN.

Per aspera ad astra. [Through hardships to the stars]

Competitive programming is a very vast topic. Don’t hesitate to search more.

Thanks :)

Photo by Clark Tibbs on Unsplash

--

--

Mr. Red
Mr. Red

Written by Mr. Red

CS Student | Tech Enthusiast | Blogger

No responses yet