This repo is a WIP that implements all famous data structures and algorithms required for technical interviews from "Cracking the Coding interview" by Gayle Laakmaan, in Python3. Data Strucutres implemented so far:
- Linked List
- Hash Table with Chained Collision addressing
- Stacks
- Queues
- Tree
- Binary Tree
Algorithms implemented so far:
- Depth First Search (Inorder, Preorder, Postorder) - Recursively
- Depth First Search (Inorder, Preorder, Postorder [with 1 and 2 stacks]) - Iteratively
- Breath First Search - Iteratively using Queue
- Binary Tree Depth using BFS(with and without log) and Recursion
- PostOrder, PreOrder and InOrder traversal using OneStack
- Check Balaned Binary Tree
- Maximum Sum Path
- ZigZag Traversal
- Identical Trees
- Vertical Order Traversal
- Binary Tree Diameter
- Check for Balanced Binary Tree
- Child Sum Property
- Lowest Common Ascestor
- Root to all leaves path
- Top View
- Bottom View
- Right View