71616 подписчиков
926 видео
Leetcode 1233. Remove Sub-Folders from the Filesystem (from sort + stack to Trie)
3113. Find the Number of Subarrays Where Boundary Elements Are Maximum (monotonic stack + dp)
Leetcode 477. Total Hamming Distance (bit manipulation)
Leetcode 2091. Removing Minimum and Maximum From Array (greedy)
Leetcode 1839. Longest Substring Of All Vowels in Order (list groups)
Leetcode 1446. Consecutive Characters (list groups)
Leetcode 26. Remove Duplicates from Sorted Array (two pointers)
Leetcode 2531. Make Number of Distinct Characters Equal (Counter)
Leetcode 255. Verify Preorder Sequence in Binary Search Tree(monotonic stack)
Leetcode 1971. Find if Path Exists in Graph (union find)
Leetcode 3072. Distribute Elements Into Two Arrays II (binary index tree)
Leetcode 1869. Longer Contiguous Segments of Ones than Zeros (list groups)
Leetcode 421. Maximum XOR of Two Numbers in an Array (bit manipulation)
Leetcode 1441. Build an Array With Stack Operations (2 pointers)
Leetcode 1043. Partition Array for Maximum Sum (dp)
Leetcode 651. 4 Keys Keyboard (1d dp)
Leetcode 503. Next Greater Element II (monotonic stack)
Leetcode 2827. Number of Beautiful Integers in the Range (digit dp)
Leetcode 1893. Check if All the Integers in a Range Are Covered (difference array)
Leetcode 496. Next Greater Element I (monotonic stack)
Leetcode 421. Maximum XOR of Two Numbers in an Array (01 Trie)
Leetcode 683. K Empty Slots (sorted list)
Leetcode 13. Roman to Integer (Java)
Leetcode 745. Prefix and Suffix Search (Trie)
Leetcode 2540. Minimum Common Value (two pointers)
Leetcode 2498. Frog Jump II (greedy)
Leetcode 403. Frog Jump (dfs + memo)
Leetcode 556. Next Greater Element III (math leetcode 31)