The encode function will encode a list of strings to a single string while the decode function will take the encoded string and return the original list of strings as output

Encoding and Decoding Functions for Strings

Implement an encode function to encode a list of string values to be transmitted over a network. Also, implement a decode function to convert the encoded string back to its original value.

November 6, 2023 · 6 min · Avnish
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 · 6 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 · 5 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 · 8 min · Avnish
Arrays, Strings, and HashMaps

Arrays, Strings, and HashMaps

Understanding basic data structures like arrays, strings, and hashmaps

September 29, 2023 · 8 min · Avnish