🎓 coding exercises from leetcode
44 questions solved so far.- Sliding Window
- input - linked list, array, string
- questions type - longest/shortest substring, subarray
- Dynamic Programming
- questions type - maximum/minimum subarray/array/subset
- Two Pointers
- input - sorted array or linked list
- questions type - find pair, tripler or subarray
- Fast and slow pointers
- input - linked list or array
- questions type - length of linked list, position of element
- Merge Intervals
- questions type - overlapping intervals, mutually exclusive intervals, maximum cpu load
- Cyclic sort
- input - sorted array
- questions type - missing/duplicate/smallest number in sorted array
- Inplace reversal of linked list
- questions type - reverse linked list without extra memory, reverse sublist, reverse every k-element sub-list
- BFS
- questions type - traverse tree level by level, zig zag traversal
- DFS
- questions type - traverse inorder, preorder, postorder or searching node closer to leaf
- Two heaps
- questions type - smallest/largest elements of set, scheduling, priority queue
- Backtracking
- questions type - permutations
- 01 Two Sum.Cs - 2024-03-02
- 1929 Concatenation Of Array.Cs - 2024-06-17
- 2942 Finds Word Containing Character.Cs - 2024-06-17
- 303 Range Sum Query.Cs - 2024-06-17
- 349 Intersection Of Two Array.Cs - 2024-06-17
- 1431 Kids With Greatest Number Of Candies.Cs - 2024-06-17
- 350 Intersection Of Arrays2.Cs - 2024-06-17
- 455 Assign Cookies.Cs - 2024-06-17
- 2011 Final Value Of Variable.Cs - 2024-06-17
- 1512 Number Of Good Pairs.Cs - 2024-06-17
- 1920 Build Array From Permutation.Cs - 2024-06-17
- 1470 Shuffle The Array.Cs - 2024-06-17
- 2798 Number Of Employees Who Met The Target.Cs - 2024-06-17
- 2824 Count Pairs With Sum Less Than Target.Cs - 2024-06-17
- 463 Island Perimeter.Cs - 2024-06-17
- 118 Pascal Triangle.Cs - 2024-03-02
- 509 Fibonacci Number.Cs - 2024-03-02
- 746 Min Cost Climbing Stairs.Cs - 2024-03-03
- 1025 Divisor Game.Cs - 2024-03-03
- 119 Pascal Triangle2.Cs - 2024-03-03
- 2900 Longest Unequal Adjacent Groups Subsequence I.Cs - 2024-03-03
- 1137 Nt Tribonacci Number.Cs - 2024-03-03
- 121 Best Time To Buy And Sell Stock.Cs - 2024-03-03
- 70 Climb Stairs.Cs - 2024-03-03
- 392 Is Subsequence.Cs - 2024-03-03
- 1668 Maximum Repeating String.Cs - 2024-04-27
- All Possible Full Binary Trees.Cs - 2024-04-27
- 1641 Count Vowel Strings.Cs - 2024-04-27
- 403 Frog Jump.Cs - 2024-06-18
- 90 Subsets 2.Cs - 2024-06-17
- 39 Combination Sum.Cs - 2024-06-17
- 40 Combination Sum 2.Cs - 2024-06-17