Leet's Code
Software engineer. I make videos about data structures and algorithms, OOPS, Computer networking, Operating systems, system design, and Lifestyle.
Leetcode 3776. Minimum Moves to Balance Circular Array | Greedy | Two-pointers | Medium
Leetcode 3775. Reverse Words With Same Vowel Count | Greedy | Medium | Simulation
Leetcode 3774. Absolute Difference Between Maximum and Minimum K Elements | Easy | Sorting
Leetcode 3765. Complete Prime Number | Prefix & Suffix | Medium | Prime Number
Leetcode 3761. Minimum Absolute Distance Between Mirror Pairs | Map | O(NLogN) | Brute Force Approac
Leetcode 3760. Maximum Substrings With Distinct Start | Set | O(NLogN) | Medium
Leetcode 3759. Count Elements With at Least K Greater Values | Map | O(NLogN) | Sorting | Medium
Leetcode 3754 & 3756 Concatenate Non-Zero Digits and Multiply by Sum I & II | Prefix array | O(N+Q)
Leetcode 3751. Total Waviness of Numbers in Range I | Brute force | Easy | O(N*L)
Leetcode 3752. Lexicographically Smallest Negated Permutation that Sums to Target | Greedy |O(NlogN)
Leetcode 3740. & 3741. Minimum Distance Between Three Equal Elements I & II | O(N^2) | O(NLogN)
3738. Longest Non-Decreasing Subarray After Replacing at Most One Element | Prefix and Suffix | O(N)
LeetCode 3737. Count Subarrays With Majority Element I | Two Pointers | O(N^2) | Medium
Leetcode 3732. Maximum Product of Three Elements After One Replacement | Sorting | Medium
Leetcode 3733. Minimum Time to Complete All Deliveries | Binary Search | O(LogN) | Medium
LeetCode 3685. Subsequence Sum After Capping Elements | DP | O(N*N) | MEDIUM | LEETCODE
Leetcode 3684. Maximize Sum of At Most K Distinct Elements | SET | Sorting | MEDIUM | LeetCode
Leetcode 3683. Earliest Time to Finish One Task | EASY | Leetcode
Leetcode 3679. Minimum Discards to Balance Inventory | Sliding Window | O(N^2) to O(N) | MEDIUM
Leetcode 3678. Smallest Absent Positive Greater Than Average | Set | O(NlogN) | EASY | LEETCODE
LeetCode 3644. Maximum K to Sort a Permutation | Medium | Bitwise AND
LeetCode 3645. Maximum Total from Optimal Activation Order | Min Heap | O(NLogN) | Medium | Sorting
LeetCode 3638. Maximum Balanced Shipments | Monotonic Stack | Greedy | Medium | O(NlogN)
LeetCode 3639. Minimum Time to Activate String | Binary Search | from O(N^2) to O(NlogN) | Medium |
LeetCode 3634. Minimum Removals to Balance Array | Two Pointer | Sorting | Medium | O(NLogN)
LeetCode 3635. Earliest Finish Time for Land and Water Rides II | Greedy | O(N) | Medium
LeetCode 3629. Minimum Jumps to Reach End via Prime Teleportation | Shortest distance | Dijkstra
LeetCode 3627. Maximum Median Sum of Subsequences of Size 3 | Sorting | Greedy | Medium
LeetCode 3628. Maximum Number of Subsequences After One Inserting | Prefix && Suffix Array | O(N)
LeetCode 3624. Number of Integers With Popcount-Depth Equal to K II | Fenwick Tree | Hard