In this repository I have listed all the data structures, algorithms and their implementations, I have learnt using Python and c++.
- Datastructure Implementation:
- Algorithm Implementation:
- Searching - Binary Search Iterative - Binary Search Recursive
- Sorting - Bubble Sort - Merge Sort - Selection Sort - Insertion Sort - Quick Sort
- Data structure implementations: - Create heap from the given array - Preorder traversal: recursive and non-recursive - Inorder traversal: recursive and non-recursive - Postorder traversal: recurisve and non-recursive
- Coding challenge questions: - Kadane's algorithm for maximum subarray
- Sorting Algorithms: - Bubble and selection sort - Insertion sort - Counting sort - Merge sort
- Binary Search: - Number of elements lte k
- Complete Search Algorithms: - Print all subsets using Recursion - Print all permutations of a sequence
- Dynamic Programming: - Unique paths in a grid - Max Array Sum - Number of ways to reach top staircase - Maximum occuring consecutive character - Multistage Graph
- Number Theory: - Binary exponentiation - Extended Euclid Algo
- Misc: - Moore's voting algorithm
- Recursion and Backtracking: - N Queen's problem with Backtracking