priyankchheda
algorithms
C++

Data Structure Libraries and Algorithms implementation

Last updated Jun 14, 2026
641
Stars
67
Forks
2
Issues
0
Stars/day
Attention Score
28
Language breakdown
C++ 33.8%
Python 33.6%
Go 22.6%
C 9.2%
Makefile 0.8%
Files click to expand
README

Algorithms

Data Structure Libraries and Algorithms implementation in C++

Disclaimer
This repository is meant to be used as a reference to learn data structure and algorithm.

Algorithms in Other Languages

Data structure

* Find duplicates in array * Largest Rectangle in Histogram * Largest Sum of Contiguous subarray within an array * Inplace array reversal * BFS Traversal * Compare two BST * DFS Traversal * Is BST? * Lowest Common Ancestor * Depth First Traversal * Level Order Traversal * Lowest Common Ancestor * Top View * Vertical Order Traversal * Quick Find * Quick Union * Weighted Quick Union * Bellman Ford Algorithm * Breadth First Search * Connected Componenets * Depth First Search * Dijkstra Algorithm * Kosaraju Algorithm * Kruskal Algorithm * Prim Algorithm * Topological Sort * Linear Probing * Separate Chaining * Singly Linked List * Find Middle Node * Is Palindrome? * Merge Two Sorted Linked List * Node Swap * Remove duplicates from Singly Linked List * Return nth element from last node * Reverse Singly Linked List * Rotate * Sum of two lists * Doubly Linked List * Remove duplicates from Doubly Linked List * Reverse Doubly Linked List * Circular Linked List * Is Circular? * Josephus Circle * Split Circular Lists * Anagram * Integer Reversion * Palindrome Check * Min Heap * Max Heap * Bubble Sort * Gnome Sort * Insertion Sort * Merge Sort * Odd Even Sort * Quick Sort * Selection Sort * Shell Sort * Balanced Paranthesis * Track Current Minimum * Integer to Binary * Queue using Stack * Two Stack in an Array

TO DO

  • Vertical Order Traversal of Tree
  • Order Statistics of Tree
  • Red Black Tree
  • Deque using circular array
  • Tree Varient
  • Graph Varient
  • cocktail sort
  • comb sort

Contribution

Feel Free to contribute.
Please follow standard C++ Guidelines.
🔗 More in this category

© 2026 GitRepoTrend · priyankchheda/algorithms · Updated daily from GitHub