Skip to content

jiitopticachapter/Data-Structures-Algo

Repository files navigation

👨‍💻 Data-Structures-Algorithm 👨‍💻

  • 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.

Contribute

Write any algorithm of your choice in c++ only.
Steps to follow :

  1. Create an algorithm file with algorithm name. For example for kruskal algorithm create file like kruskal_algorithm.cpp
  2. Write the approach for the problem and then code it.
  3. Add that file in the folder of that particular topic. For example kruskal algorithm will go in Graph folder.
  4. Open a pull request.

Table of Contents

Arrays

All Arrays related programs are present here.

StartKadane's Algorithm

Binary_Search

All Binary Search programs are present here.

StartBinary Search

Dynamic_Programming

All DP programs are present here.

Start

Graph

All Graph related programs are present here.

Kruskal's Algorithm

Greedy

All Greedy Algorithm related programs are present here.

StartFind_Minimum_Number_of_coins

Linked_List

All Linked List programs are present here.

Start


Sliding_Window

All Sliding Window programs are present here.

Start

Strings

All Strings related programs are present here.

Start

Trees

All Trees related programs are present here.

Start

Criteria for getting your PR merged

Steps to follow :

  1. Give a bruteforce approach
  2. Design an optimised approach with its intuition
  3. Submit the code of optimised approach

Happy Coding !!
Keep learning.

Releases

No releases published

Packages

No packages published

Languages