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 · 5 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 · 3 min · Avnish