Published onDecember 18, 2021[LeetCode 42] Trapping Rain WaterTwoPointersGiven n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
Published onDecember 17, 2021[LeetCode 41] First Missing PositiveSetGiven an unsorted integer array `nums`, return the smallest missing positive integer.
Published onDecember 15, 2021[LeetCode 34] Find First and Last Position of Element in Sorted ArrayBinarySearchstarting and ending position of a given `target` value.
Published onDecember 15, 2021[LeetCode 36] Valid SudokuSetDetermine if a `9 x 9` Sudoku board is valid.
Published onDecember 10, 2021[LeetCode 26] Remove Duplicates from Sorted ArrayTwoPointersduplicates in-place such that each unique element appears only **once**.
Published onDecember 7, 2021[LeetCode 23] Merge k Sorted ListsLinkedListYou are given an array of `k` linked-lists `lists`, each linked-list is sorted in ascending order.
Published onDecember 7, 2021[LeetCode 22] Generate ParenthesesTwoPointersGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.