2270 Number of Ways to Split Array C++ Python O(n) O(1) Medium Prefix Sum 2271 Maximum White Tiles Covered by a Carpet C++ Python O(nlogn) O(1) Medium Sliding Window, Prefix Sum, Binary Search 2274 Maximum Consecutive Floors Without Special Floors C++ Python O(nlogn) O(1) Medium Sor...
1808.Maximize-Number-of-Nice-Divisors (H-) 1819.Number-of-Different-Subsequences-GCDs (H-) 2183.Count-Array-Pairs-Divisible-by-K (M+) 2344.Minimum-Deletions-to-Make-Array-Divisible (E) 2543.Check-if-Point-Is-Reachable (H) 2654.Minimum-Number-of-Operations-to-Make-All-Array-Elements-Equal...
All A-Z codes done on LeetCode Two Pointers 0075-sort-colors 0287-find-the-duplicate-number 0443-string-compression 0633-sum-of-square-numbers 0875-longest-mountain-in-array 2572-append-characters-to-string-to-make-subsequence 2699-count-the-number-of-fair-pairs String 0443-string-compression 06...
3015 Count the Number of Houses at a Certain Distance I C++ Python O(n) O(n) Medium Math, Prefix Sum, Difference Array 3017 Count the Number of Houses at a Certain Distance II C++ Python O(n) O(1) Hard Math, Prefix Sum, Difference Array 3026 Maximum Good Subarray Sum C++ Python O...
3015 Count the Number of Houses at a Certain Distance I C++ Python O(n) O(n) Medium Math, Prefix Sum, Difference Array 3017 Count the Number of Houses at a Certain Distance II C++ Python O(n) O(1) Hard Math, Prefix Sum, Difference Array 3026 Maximum Good Subarray Sum C++ Python O...
My all DSA question of Leetcode And GFG. Contribute to kunna67/Practice-DSA development by creating an account on GitHub.
First And Last occurrence of an element(GFG) Count of element in a sorted array(GFG) Search in a rotated Sorted Array(leetcode) Logs(Atcoder) Search in A 2D Matrix (Leetcode) First bad version(Leetcode) Heaters(Leetcode) Number Theory (Mathematics) CodeNCode - Video Recursion and BackT...
1533.Find-the-Index-of-the-Large-Integer (M) 1712.Ways-to-Split-Array-Into-Three-Subarrays (H) Binary Search by Value 215.Kth-Largest-Element-in-an-Array (M) 287.Find-the-Duplicate-Number (H-) 378.Kth-Smallest-Element-in-a-Sorted-Matrix (H-) 373.Find-K-Pairs-with-Smallest-Sums ...
1808.Maximize-Number-of-Nice-Divisors (H-) Greedy 055.Jump-Game (E+) 045.Jump-Game-II (M) 134.Gas-Station (H) 229.Majority-Element-II (H) 659.Split-Array-into-Consecutive-Subsequences (H) 484.Find-Permutation (H) 386.Lexicographical-Numbers (H) 624.Maximum-Distance-in-Arrays (M) ...
3134.Find-the-Median-of-the-Uniqueness-Array (H-) 2461.Maximum-Sum-of-Distinct-Subarrays-With-Length-K (M) 2537.Count-the-Number-of-Good-Subarrays (M+) 3298.Count-Substrings-That-Can-Be-Rearranged-to-Contain-a-String-II (M+) 3306.Count-of-Substrings-Containing-Every-Vowel-and-K-Con...