Problems from LeetCode and GeeksForGeeks.
-
Linked Lists -
- Add Two Numbers
- Basic Operations (insert all 3, delete, reverse, Length, Swap Nodes, Swap Nodes in Pairs, etc)
- Convert Binary Number To A Linked List.
- Convert Sorted List To A Binary Search Tree.
- Flatten MultiLevel Doubly Linked List.
- Get Middle Element.
- Intersection Node.
- Linked List Cycle Detection.
- Merge K Sorted Lists.
- Merge Sort.
- Merge Two Sorted Lists.
- Odd Even Linked List.
- Palindrome Linked List.
- Partition List.
- Remove Duplicates From Sorted List.
- Remove Duplicates From Sorted List II.
- Reverse Doubly Linked List.
- Reverse List II.
- Reverse List In K Groups.
- Rotate List.
- Rotate List By Right.
-
Stack -
- Binary Tree Inorder Traversal(Iterative).
- Binary Tree Postorder Traversal(Iterative).
- Binary Tree Preorder Traversal(Iterative).
- Implement Queue using Stacks.
- Implement Stack Using Queue.
- Mininmum Stack.
- Next Greater Element I.
- Next Greater Element II.
- Next Greater Element III.
- Remove K Digits.
- Reverse String Using Stack.
- Stack Implementation(Array).
- Stack Implementation(LL).
- Valid Parentheses.
-
Queue -
- BFS Graph.
- Queue LinkedList Implementation.
- Reverse A Queue.
-
Trees -
- Applications Of Binary Tree.
- Balanced Binary Tree.
- Binary Level Order Traversal.
- Binary Tree Zig Zag Order Traversal.
- Binary Tree Right Side View.
- Convert Binary Tree From Inorder And Postorder.
- Convert Binary Tree From Inorder And Preorder.
- Convert Sorted Array To Binary Search Tree.
- Deletion.
- Diameter Of Given Binary Tree.
- Flatten Binary Tree To Linked Lists.
- Insertion.
- Invert Binary Tree.
- Kth Samllest Element in Binary Search Tree.
- Lowest Commmon Ancestor Of BST.
- Lowest Common Ancestor Of Binary Tree.
- Merge Two Binary Tree.
- Minimum Depth Of Binary Tree.
- Path Sum.
- Path Sum II.
- Recover BST.
- Same Tree.
- Sum Root To Leaf Number.
- Unique BST.
- Unique BST II.
- Validate BST.