Skip to content

Competitive programming is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications. This repo contains the Detailed Explanation and implementation of Various Coding problems on various platforms in C++

License

Notifications You must be signed in to change notification settings

sachin-duhan/COMPETITVE-PROGRAMMING

Repository files navigation

Competitive Programming

The following repo contains the solutions of the good interview question and some famous problems on well-known platforms like - LEETCODE, HACKERANK, GEEKSFORGEEKS, CODECHEF, CODEFORCES, etc.

How to start Competitive Programming (CP)?

We are going to give you a short description that you should follow to start with competitive programming.

1. Choose a Programming Language:

You should have the knowledge of at least one programming language to step into CP. That programming language will be a tool for you or you can say al language for you to build your thought process and convert that into coding for a given problem. It can be anything C, C++, Java, Python or any programming language you are comfortable with.(C++ is the most preferred language in the CP community).

2. Understand the Concept of Time and Space Complexity:

You need to find the best solution i.e optimal one learning these two concepts. So dig yourself into these two topics to know how much time and space an algorithm takes to solve a problem.

3. Learn the Fundamentals of Data Structures and Algorithms:

DSA is the major part of programming. You need to find out the best algorithm i.e approach and best data structure suitable for your problems. Array, Linked List, Stack, Searching, Sorting etc. all these are part of DSA so learn these two most important fundamentals to start CP.

4. Take the Challenge and Solve Coding Problems:

You need to take part in coding challenges on different coding platforms.GeeksforGeeks,CodeChef,HackerRank and alot of platforms are there. Once you practiced some questions start participating in the coding contests.

5. Practice and Do it Regularly: (:star:)

Yes…do it regularly to be proficient in it. Your consistency is very important to solve the challenges in CP. It would be difficult initially and you might be frozen out seeing some questions, so start from the basics and gradually increase the level but stick on it and participate in different coding competitions.

Learning Resources

Here is a list of resources for CP

You Tube links

Here is a list of popular You Tube Channels for CP:
Tushar Roy
Rachit Jain
Errichto
CodeNCode
Abdul Bari (google for more!)

Study materials for beginners:

Introduction to Algorithms
Competitive Programming 3 by Steven Halim
Guide to Competitive Programming by Antti Laaksonen Programming challenges by Steven S Skiena
The Algorithm Design Manual

Installation

Clone the GitHub Repository.

$ git clone https://github.com/sachin-duhan26/COMPETITVE-PROGRAMMING.git

Contributing

Please refer to each project's style for submitting better solutions and additions. 
In general, we follow the "fork-and-pull" Git workflow.
  • Fork the repo on GitHub

  • Clone the project to your own machine

  • Commit changes to your own branch

  • Push your work back up to your fork

  • Submit a Pull request so that I can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

UPDATE

More leetcode solutions can be found here.

AUTHOR

Name - Sachin Duhan
Institute - Delhi Technological University
Course - B.Tech (Mathematics and computing) 
Batch of 2021

About

Competitive programming is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications. This repo contains the Detailed Explanation and implementation of Various Coding problems on various platforms in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published