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.
Here are some course notes from NPTEL Algorithms course.
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. I'll make sure it gets accepted at the earliest. Cheers!
. ├── AdHoc ├── Backtracking ├── Contests ├── CS591 ├── Divide_Conquer ├── Dynamic Programming ├── Graphs ├── Greedy ├── Hashing ├── LinkedList ├── Misc ├── Number_Theory ├── Searching_Sorting ├── Stack_Queue ├── Subarrays ├── Tree └── TwoPointerSW