In this repository different types of Data Structures and Algorithms have been implemented in Python. And solutions of different Problems based on these topics are also included.
- Linked List: Code
- Queue using Linked List: Code
- Stack: Code,
Solved Problems:
Paranthesis Balancing - Disjoint Set: Code
- Heap and Priority Que: Code
- Binary Search Tree using Linked List: Code
- Segment Tree: Code,
Solved Promlems:
Minimum value - Trie Code
Searching
- Binary Search: Code
Sorting: Code
All the following Sorting algorithms have been implemented.
- Insertion Sort
- Selection Sort
- Buuble Sort
- Merge Sort
- Counting Sort (something self made 😉)
Backtracking
Solved Problems
: Permutation Generator, Cobmination Generator, NQuneens Problem
- BFS: Code
Solved Problems
: Depth of Nodes, BFS in 2D grid, knight Moves, Bicoloring - Minimum Spanning Tree(Kruskal Algorithm): Code
- Topological Sort: Code
- DFS: Code,
Solved Problems
: Cycle Detection - Dijakstra: Code
- Articulation Point: Code,
Solved Problems
:Network, Submerged - Strongly Conncted Components Code
- Maximum Flow(Ford Fulkerson) Code,
- 1/0 Knapsack Problem (Code)
- Coin Change (Code)
- Longest Increasing Sequence (Code)
- Minimum Vertex Cover (Code)
- Longest Common Subsequence
In this section some of the common interview questions are added with the Online Judge links. (Link)