How to get started with Competitive programming ?

Competition programming is a skill which most of the companies look for inorder to assess a candidate’s problem solving ability!

Bored of such stuff?😒

Image for post
Image for post

Pick a language of your choice-Java or C++ or Python!If you have picked C++,Make sure you know some of the popular STL functions and how to use it!If you have picked Java,Be familiar with Collections Framework and all the interfaces,classes and popular functions used.Python is much slower than Java and C++.I would advise you to start with Java or C++.

🔥You can learn Java as it really simple and does not have any complicated concepts like pointers and operator overloading and much more!

https://www.youtube.com/playlist?list=PLKKfKV1b9e8ps6dD3QA5KFfHdiWj9cB1s

This is the best source to learn Java!

https://www.youtube.com/playlist?list=PLsyeobzWxl7oZ-fxDYkOToURHhMuWD1BK

https://www.youtube.com/playlist?list=PLKKfKV1b9e8qBh_LG02V8R8qGRQjloeBj

https://www.youtube.com/playlist?list=PLfBJlB6T2eOvyt21CIX_PMmhOgWHiFVab

To know more about C++ STL,Refer this too!

https://youtu.be/zBhVZzi5RdU

https://youtu.be/5hVAuYgZZqk

https://www.youtube.com/playlist?list=PLsyeobzWxl7poL9JTVyndKe62ieoN-MZ3

https://youtu.be/5wEPVlmZ-n8

This is another good resource to get in-depth knowledge in Java!

Please don’t start with a random problem on Hackerank or Hackerearth.Sometimes even easy level of problems need some pre-requisites like topics from number theory which might include primality test,finding number of factors optimally,Euler totient,sieve of earsthosthenes,segemented sieve etc.

https://www.youtube.com/channel/UC0zvY3yIBQTrSutsV-4yscQ

https://www.youtube.com/playlist?list=PL-Jc9J83PIiFJRioti3ZV7QabwoJK6eKe

Firstly,read up how to find time complexity of a algorithm!

Remember the order of increasing time complexities as you are a beginner.

https://www.youtube.com/playlist?list=PLMCXHnjXnTnszR6YSo1tQK2BMr15cC9Zh

https://www.youtube.com/playlist?list=PL-Jc9J83PIiFc7hJ5eeCb579PS8p-en4f

Start your journey with basic sorting Algorithms like bubble sort,selection sort,insertion sort,heap sort,quick sort,counting sort,shell sort on geeksforgeeks.

Analyze all the sorting techniques and their time and space complexity.

Do not memorize the solutions of these problems.Just analyze and remember the approach!

You don’t have to know all the algorithms before getting started with Competitive programming!

We get to know about algorithms eventually as we solve the problem!

You might get demotivated as you might not be able to solve any problem on your own!

Don’t worry!Pick a problem with easy tag on Leetcode now and start completing atleast 30 problems of easy level.This will give you a good start to solve the next level of problems i.e. Medium level.

https://www.youtube.com/c/TECHDOSE4u

When you get stuck with any problem ,refer the discussion’s forum on Leetcode and it has numerous editorials!You will definitely be able to understand the solutions posted there.

https://www.youtube.com/playlist?list=PLgUwDviBIf0rf5CQf_HFt35_cF04d8dHN

https://www.youtube.com/playlist?list=PLgUwDviBIf0pmD4Eur6Cl5XfBO4EtgKGe

https://www.youtube.com/playlist?list=PL-Jc9J83PIiEZvXCn-c5UIBvfT8dA-8EG

https://www.youtube.com/playlist?list=PLauivoElc3gi9zjJ9wIYFfmQ0-rdAKl85

https://www.youtube.com/playlist?list=PLMCXHnjXnTnuhz60tS7wtCPDzfuPhglpJ

https://www.youtube.com/playlist?list=PLgUwDviBIf0rPG3Ictpu74YWBQ1CaBkm2

https://www.youtube.com/playlist?list=PLMCXHnjXnTnucEu8lYMatA23OOi_De3Zp

https://www.youtube.com/playlist?list=PLfBJlB6T2eOslbxvkGT4Ws5AGT1ewUEb9

https://youtu.be/ZI0RgqPk7-Q

https://www.youtube.com/playlist?list=PLfBJlB6T2eOvR8yXHkdju-jDpW2bD8Rlj

https://www.youtube.com/playlist?list=PLfBJlB6T2eOuUAof03sQFlUcrk_Bc7jOA

https://www.youtube.com/playlist?list=PLBTCXiV4KOCT1q0_DhZoel5P8Cd0ONho0

https://youtu.be/R0PnosalEMc

https://docs.google.com/document/u/0/d/1SM92efk8oDl8nyVw8NHPnbGexTS9W-1gmTEYfEurLWQ/mobilebasic

This will boost your confidence!

If you watch all these videos and solve atleast 100 problems of Medium level and 50 problems of Hard level problems on Leetcode,you will crack any interview!

#Faang#competitiveprogramming#codingforlife#placements#studentcommunity

Please do tap on 👏Icon below to show your support which would encourage me to write more such articles!

Please do share my article with your friends nd classmates!

Thankyou for reading my article!

This is my LinkedIn Profile and you can ping me if you have any queries!

https://www.linkedin.com/in/varsha-reddy-k-5294b8164

Written by

Incoming SDE Intern @Amazon || Ex-Mentee @Amazon

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store