- This repo contains solutions for famous coding questions with a gist of data-structures and approach used.
- All the questions choosen have unique approaches.
- This repo later can also be used for revision purpose during placements.
Write any algorithm of your choice in c++ only.
Steps to follow :
- Create an algorithm file with algorithm name. For example for kruskal algorithm create file like kruskal_algorithm.cpp
- Write the approach for the problem and then code it.
- Add that file in the folder of that particular topic. For example kruskal algorithm will go in Graph folder.
- Open a pull request.
All Arrays related programs are present here.
β’ Start β’ Kadane's Algorithm
All Binary Search programs are present here.
β’ Start β’ Binary Search
All DP programs are present here.
β’ Start
All Graph related programs are present here.
β’ Kruskal's Algorithm
All Greedy Algorithm related programs are present here.
β’ Start β’ Find_Minimum_Number_of_coins
All Linked List programs are present here.
β’ Start
All Sliding Window programs are present here.
β’ Start
All Strings related programs are present here.
β’ Start
All Trees related programs are present here.
β’ Start
Steps to follow :
- Give a bruteforce approach
- Design an optimised approach with its intuition
- Submit the code of optimised approach
Happy Coding !!
Keep learning.