~/lc-grind
#33 - Search in Rotated Sorted Array
Apr 29, 2025Master binary search to find a target in a rotated sorted array with O(log n) efficiency—perfect for sharpening your algorithmic skills!
#153 - Find Minimum in Rotated Sorted Array
Apr 28, 2025Solve the 'Find Minimum in Rotated Sorted Array' problem efficiently using binary search to locate the pivot point (minimum element) in O(log n) time, handling rotated sorted arrays with unique elements.
#152 - Maximum Product Subarray
Apr 25, 2025Master the art of finding the contiguous subarray with the maximum product using dynamic programming in this medium-level LeetCode challenge—perfect for sharpening your array manipulation skills!
#53 - Maximum Subarray
Apr 24, 2025Master the classic Maximum Subarray problem—solve it efficiently using dynamic programming (Kadane's algorithm) or explore the divide-and-conquer approach for an optimal O(n) solution!
#238 - Product of Array Except Self
Apr 23, 2025Master the art of computing the product of an array except itself in O(n) time without division, using clever prefix and suffix products—perfect for honing your array manipulation skills!
#217 - Contains Duplicate
Apr 22, 2025Check if an array contains any duplicate elements using efficient methods like hashing or sorting—perfect for beginners learning array manipulation!
#0 - Hello World
Apr 21, 2025Hello World!
#1 - Two Sum
Apr 21, 2025Find the indices of two numbers in an array that add up to a target value, ensuring an efficient solution with optimal time complexity.
#121 - Best Time to Buy and Sell Stock
Apr 21, 2025Maximize your stock profit by finding the best day to buy low and sell high in a single transaction—or return 0 if no profit is possible.