https://github.com/amitrajitbose/competitive_programming
Contains solutions and codes to various online competitive programming challenges and some good problems. The links to the problem sets are specified at the beginning of each code.
https://github.com/amitrajitbose/competitive_programming
adhoc algorithms algorithms-and-data-structures competition competitive-programming data-structures dynamic-programming graph greedy greedy-algorithms hacktoberfest interview interview-preparation leetcode leetcode-python linked-list primality-testing queue stack trie
Last synced: 2 months ago
JSON representation
Contains solutions and codes to various online competitive programming challenges and some good problems. The links to the problem sets are specified at the beginning of each code.
- Host: GitHub
- URL: https://github.com/amitrajitbose/competitive_programming
- Owner: amitrajitbose
- License: mit
- Created: 2018-05-09T19:58:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T12:54:34.000Z (2 months ago)
- Last Synced: 2025-03-29T13:36:31.713Z (2 months ago)
- Topics: adhoc, algorithms, algorithms-and-data-structures, competition, competitive-programming, data-structures, dynamic-programming, graph, greedy, greedy-algorithms, hacktoberfest, interview, interview-preparation, leetcode, leetcode-python, linked-list, primality-testing, queue, stack, trie
- Language: Python
- Homepage:
- Size: 4.65 MB
- Stars: 74
- Watchers: 0
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Competitive Programming
Competitive Programming is a sport. It is a way to keep the brain healthy and fit. It is the gym for the mind. And, last but not the least, we are practicing it excel at our coding interviews.
This repository contains solutions and codes to various online competitive programming challenges from various popular platforms. The links to the problem statements are specified at the beginning of each code, or along with the commit message. Apart from that, I've also put here some of the very common and important problems and algorithms that are commonly asked in interviews.
It should be noted that mostly none of these solutions are written with respect to best Software Engineering practices. The programs are written the way they're, so that solutions to problems in competitions can be submitted as fast as possible. In some cases the codes have short comments for the ease of the reader, and not for official documentation purpose.
## Resource List
(Feel free to add more items to this list)
- [Design and Analysis of Algorithms by Prof.Madhavan Mukund (CMI)](https://www.cmi.ac.in/~madhavan/nptel-algorithms-2015/)
- [CodeMonk by HackerEarth](https://www.hackerearth.com/practice/codemonk/)
- [Intro To Programming Contests, Stanford](http://web.stanford.edu/class/cs97si/)
- [How to Win Coding Competitions: Secrets of Champions, ITMO University](https://www.edx.org/course/how-to-win-coding-competitions-secrets-of-champion)
- [Sameer Gulati's Quora Answer](https://www.quora.com/What-is-a-list-of-data-structures-that-a-competitive-programmer-must-know/answer/Sameer-Gulati-3)## Contributions
I am so happy that you want to contribute. There are no specific rules, if you've found a problem that is good enough for interview and you want to showcase your solution - Just go ahead, add it and submit a PR. **Please [read this document](https://github.com/amitrajitbose/Competitive_Programming/blob/master/CONTRIBUTING.md) before submitting the PR.** I'll make sure it gets accepted at the earliest. Cheers!
![]()
## Structure
```
.
├── AdHoc
├── Backtracking
├── Contests
├── Divide_Conquer
├── Dynamic Programming
├── Graphs
├── Greedy
├── Hashing
├── LinkedList
├── Misc
├── Number_Theory
├── Searching_Sorting
├── Stack_Queue
├── SegmentTrees
├── Tree
└── TwoPointerSW
```