- 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.
- 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
Group Anagrams Problem Solution | LeetCode 49
Complete Java solution for grouping anagrams with optimal time and space complexity analysis for FAANG interviews.
#LeetCode
Browse articles tagged with #LeetCode