Skip to main content

#Algorithm

Browse articles tagged with #Algorithm

  • 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

    Prefix Sum with Hash Map Patterns in Java

    Comprehensive guide to solving array and subarray problems using prefix sum techniques with hash map optimizations for efficient runtime complexity.

  • 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.

  • DSA Patterns

    Frequency Counting with Hash Maps in Java

    Comprehensive guide to implementing frequency counting using hash maps, including time complexity analysis and practical applications in FAANG interviews.

  • DSA Problems

    Happy Number Algorithm Solution

    Complete Java implementation for determining happy numbers with optimal time and space complexity analysis.

  • DSA Problems

    Contains Duplicate Problem Solution

    Complete Java implementation for detecting duplicate elements in an array with optimal time and space complexity analysis.

  • DSA Problems

    Isomorphic Strings Java Solution with HashMap

    Complete Java implementation for determining if two strings are isomorphic, using character mapping with HashMap for optimal time and space complexity.

  • DSA Patterns

    Minimum Window Substring Problem Solution

    Complete Java implementation of the sliding window technique for finding the minimum window substring containing all characters from a target string.

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.