If you read this post, I assume you are pretty new in Coding or want to learn from scratch. So in this post, I am starting from scratch how to start Competitive Programming and give you complete understanding from choosing a language to become pro.
To start Coding, we should start from a particular language. If you are not from a technical background or not from Computer Science Department, you should pick Cpp as a language as it fast and learn the various concept that is necessary to start coding and some in-depth knowledge.
Many folks suggest you start with python, but you say many concepts (behind the scenes) that you skip easily without understanding while learning python.
If you are from the technical background, then you use python or Java or Cpp according to your need.
There are many sources available for learning languages like GFG(geeks for geeks),hackerrank etc.
If you don't know anything about coding start with geeks for geeks as it is very friendly and interactive.
And you can understand easily every topic.
Pick a language, as above explained. And learn one by one article in that section.
If you are not good at reading documentation then prefer youtube any better youtube channel there are many sources available where you can find easily one, just pick one and stick to it.
After learning the basics of languages now its time to put your feet into coding.
I would say start with geeks for geeks open data structures first and on that start with array and many other topic mention on it and do starting 10 questions on every section.
As you now familiar with the topic now, it is time to get deep knowledge of these topics, which is the main time when interesting things come.
Open Leetcode and on that go for easy section and same topic wise question you start on geeks for geeks.
Try to solve as many easy questions as you can do and remember what makes leetcode interacting is there discuss forum where most of the great coder put their solution and mainly there approach how to solve it that's why I suggest you choose leetcode over other platforms here you get very good and selective questions.I already wrote a blog for this.
After solving 50% of easy question on every topic its time for you to compete with great coders and guess what here also leetcode helps you to get that, in leetcode every Sunday there is competition at 8:00am(Indian Time) I personally request you to please participate in that competition because it helps you to think fast as well as to get the opportunity to feel like an exam.
This will boost your thinking into another level, please don't miss it.
At the same time, come into medium questions and try to solve it, and if that question is hard to think, don't panic, use discussion forums, and use wisely.
After you complete almost half of the medium question on leetcode you are now half done to your coding journey.
Between this learn about algorithms in GFG.
And now give competitions on leetcode and codeforces.
Remember Rating is very Important try to maintain your rating above 1600.
Please make a separate note copy on which you write various concepts of questions that you think unique.
If you are applying for the company then before a day, go to geeks for geeks and on that go on practice section and do company-wise questions on that.
Hope you find this blog helpful feel free to ask any question you want and for any discussion.
Thanks for sharing your experience.it will help a lot
ReplyDelete