Array Hash Map Counting Learner Implement the countDistinctValues method that counts how many different values are present in the array. Solved
Array Hash Map Two Pointers Intermediate Implement the hasPairWithExactDifference method that checks whether any two values in the array have the required absolute difference. Solved
Array Math Number Theory Learner Implement the findMissingNumberFromOneToN method that finds the missing value from a sequence that should contain numbers from 1 to n. Solved
Loop Array Learner Implement the rightRotateArrayByOne method that returns the array after rotating all elements one position to the right. Solved
Loop Array Learner Implement the leftRotateArrayByOne method that returns the array after rotating all elements one position to the left. Solved
Loop Array Decision Making Intermediate Implement the findSecondLargestDistinct method that returns the second largest distinct value from the array. Solved
Loop Array Two Pointers Learner Implement the moveZerosToEndCopy method that returns a copy of the array with all zero values moved to the end. Solved
Loop Array Decision Making Learner Implement the isArrayStrictlyIncreasing method that checks whether every array element is greater than the element before it. Solved
Loop Array Two Pointers Learner Implement the reverseArrayCopy method that returns a new array with the input elements in reverse order. Solved
String Dynamic Programming Pattern Matching Guru Implement the method isWildcardMatch that checks whether a string matches a wildcard pattern. Solved
String Hash Map Sliding Window Guru Implement the method minimumWindowLength that returns the length of the smallest substring containing all required characters. Solved
String Dynamic Programming Recursion Guru Implement the method editDistance that returns the minimum number of edits needed to convert one string into another. Solved
String Dynamic Programming Proficient Implement the method countPalindromicSubstrings that counts all palindromic substrings. Solved
Array Two Pointers Proficient Implement the method trappedRainWater that calculates how much water can be trapped between bars. Solved
Array Dynamic Programming Proficient Implement the method longestIncreasingSubsequence that returns the length of the longest strictly increasing subsequence. Solved
Math Dynamic Programming Proficient Implement the method coinChangeMinCoins that returns the minimum number of coins needed for an amount. Solved
Array Greedy Proficient Implement the method minJumpsToEnd that returns the fewest jumps needed to reach the last index. Solved
String Hash Map Sliding Window Proficient Implement the method longestUniqueSubstring that returns the length of the longest substring without repeated characters. Solved
Array Prefix Sum Dynamic Programming Intermediate Implement the method maxSubarraySum that returns the largest sum of any contiguous subarray. Solved