Data Structures and Algorithms Learn from Basic
- Stack
- push
- pop
- peek
- size
- isEmpty
- show
- using Dynamic Array
- push
- pop
- peek
- size
- isEmpty
- show
-
LinkedList
- insert
- insertAtStart
- insertAt
- show
-
double LinkedList
-
Check if pair with the given Sum exists in Array
- greedy approuch
- two pointers approch
-
Best Time to Buy and Sell Stock
- greedy approuch
-
Find the two repeating elements in a given array
- greedy approuch
-
1716
- greedy approuch
- o(N)
-
2591
- solution 1st - 1-todo
-
1 - Two Sum
- o(N)