Skip to main content

#Algorithm

Browse articles tagged with #Algorithm

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

  • DSA Problems

    Decode String Algorithm Solution

    Java implementation of decode string problem with stack-based approach for handling nested encoded patterns.

  • DSA Problems

    Compare Version Numbers Java Solution

    Complete Java implementation to compare version numbers with proper edge case handling and performance considerations.

  • DSA Patterns

    Subarray Sum Equals K Problem Solution

    Complete Java implementation for finding subarrays with sum equal to target k, covering prefix sum approach with hashmap optimization.

  • DSA Patterns

    Merge Sorted Arrays Algorithm Solution

    Complete Java implementation of merge sorted arrays with optimal time and space complexity analysis for FAANG technical interviews.

  • DSA Problems

    Group Anagrams Problem Solution

    Complete Java implementation for grouping anagrams from a string array, including optimal approach and time/space complexity analysis.

  • DSA Problems

    Valid Palindrome Problem Solution

    Complete Java implementation for validating palindromes with detailed complexity analysis and edge case handling.

  • DSA Patterns

    Two Sum Algorithm Solutions and Optimization Strategies

    Comprehensive Java implementation of two sum problems including brute force, hash map, and two pointer approaches with time complexity analysis.

  • DSA Problems

    Merge Sorted Array Algorithm Solution

    Complete Java implementation of merging two sorted arrays with optimal time and space complexity for FAANG coding interviews.

  • DSA Problems

    Majority Element Problem Solution

    Complete Java implementation for finding the majority element in an array with O(n) time and O(1) space complexity using Boyer-Moore Voting Algorithm.

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.