The groupAnagrams function will return an array with anagrams grouped together

Group Anagrams in an Array

Implementing a groupAnagrams function that takes an array of strings as input and returns another array with anagrams grouped together

October 22, 2023 · 8 min · Avnish
The twoSums function will return the indices of two elements in the input array that sum up to the target value

Finding Elements in an Array that Sum Up to a Target Value

Implementing a twoSums(nums, targetValue) function that returns the indices of two elements in nums which could be summed up to the targetValue

October 15, 2023 · 4 min · Avnish
The isAnagram function will return true if both input strings are anagram and false otherwise

Identify Anagrams

Implementing an isAnagram function that returns true if its two input strings are anagrams and false otherwise

October 12, 2023 · 6 min · Avnish
The containsDuplicate function takes an array as input and returns true or false depending on the fact that array contains duplicate elements or not

Checking an Array for Duplicate Values

Implementing a containsDuplicate function that returns true if there are duplicate elements present in the array and false otherwise

October 10, 2023 · 4 min · Avnish
Rabin-Karp Substring Search

Rabin-Karp Substring Search

Rabin-Karp Substring Search is an efficient algorithm to search a string within another string

October 8, 2023 · 9 min · Avnish
Arrays, Strings, and HashMaps

Arrays, Strings, and HashMaps

Understanding basic data structures like arrays, strings, and hashmaps

September 29, 2023 · 9 min · Avnish
Time Complexity Comparison of Algorithms

Time Complexity

The time complexity metric is used to assess an algorithm's performance on scale

September 22, 2023 · 9 min · Avnish