Skip to main content

#LeetCode

Browse articles tagged with #LeetCode

  • DSA Problems

    Three Sum Problem Solution and Algorithm Analysis

    Complete Java implementation of the three sum algorithm with optimal time complexity and space considerations for FAANG interviews.

  • DSA Patterns

    Trapping Rain Water Algorithm Solution

    Complete Java implementation of the trapping rain water problem with multiple approaches including two-pointer and dynamic programming techniques.

  • DSA Problems

    Trapping Rain Water Algorithm Solution

    Comprehensive Java implementation of the trapping rain water problem with optimal time and space complexity analysis.

  • DSA Patterns

    Container With Most Water Algorithm Solution

    Complete Java implementation of the container with most water problem using two-pointer technique with O(n) time and space complexity analysis.

  • DSA Problems

    Container With Most Water Algorithm Solution

    Complete Java implementation of the container with most water problem using two-pointer technique with O(n) time and space complexity analysis.

  • DSA Patterns

    Pair Sum in Sorted Arrays Algorithm

    Complete Java solution for finding pairs that sum to a target value in sorted arrays using two-pointer technique with O(n) time complexity.

  • DSA Problems

    Pair Sum in Sorted Array Algorithm Solution

    Efficient Java implementation to find two numbers in a sorted array that sum to a target value using two-pointer technique.

  • DSA Problems

    First Unique Character in a String Algorithm

    Find the first non-repeating character in a string and return its index, with optimal time and space complexity solutions.

  • DSA Patterns

    Prefix Sum with Hash Maps for Subarray Problems

    Master prefix sum techniques with hash maps to efficiently solve subarray sum problems including contiguous subarrays and range queries.

  • DSA Problems

    Four Sum Problem Solution with Two Pointers Approach

    Complete Java implementation of 4Sum problem using sorting and two-pointer technique with O(n³) time complexity and O(1) space solution.

Stay in the Loop

Get curated DSA patterns, coding problems, frontend and backend LLD/HLD, and AI/ML System Design insights delivered straight to your inbox. No spam, just focused interview and engineering content.