~/lc-grind
#300 - Longest Increasing Subsequence
May 13, 2025Master the classic Longest Increasing Subsequence problem with dynamic programming or an optimized O(n log n) binary search approach to efficiently find the length of the longest strictly increasing subsequence in an array.
#322 - Coin Change
May 12, 2025Solve the classic coin change problem using dynamic programming or BFS to find the minimum number of coins needed to make up a given amount, or return -1 if it's impossible.
#70 - Climbing Stairs
May 9, 2025Discover how to calculate the number of distinct ways to climb a staircase of `n` steps, taking either 1 or 2 steps at a time, using dynamic programming or Fibonacci sequence logic.
#190 - Reverse Bits
May 8, 2025Learn how to reverse the bits of a 32-bit unsigned integer efficiently using bit manipulation techniques, with clear examples and considerations for different programming languages.
#268 - Missing Number
May 7, 2025Find the missing number in an array of distinct integers ranging from 0 to n using efficient techniques like bit manipulation, math, or sorting.
#338 - Counting Bits
May 6, 2025Learn how to efficiently count the number of 1's in the binary representation of every number from 0 to n using dynamic programming and bit manipulation in this easy LeetCode problem.
#191 - Number of 1 Bits
May 5, 2025Count the number of 1 bits in a positive integer's binary representation using efficient bit manipulation techniques—a classic problem to master binary operations!
#371 - Sum of Two Integers
May 2, 2025Master bit manipulation by solving this medium-level LeetCode problem: calculate the sum of two integers without using `+` or `-` operators.
#11 - Container With Most Water
May 1, 2025Maximize water storage between two vertical lines using a two-pointer approach to find the container with the most area.
#15 - 3Sum
Apr 30, 2025Find all unique triplets in an array that sum to zero using efficient two-pointer techniques after sorting.