Blogs Hub

by Sumit Chourasia | Oct 24, 2020 | Category :coding

Two Strings - HashMap - Easy - HackerRank

Two Strings - HashMap - Easy - HackerRank

Given two strings, determine if they share a common substring. A substring may be as small as one character. For example, the words "a", "and", "art" share the common substring . The words "be" and "cat" do not share a substring. Function Description Complete the function two

read more...

by Sumit Chourasia | Oct 24, 2020 | Category :coding

New Year Chaos - Array - Medium - HackerRank

New Year Chaos - Array - Medium - HackerRank

It's New Year's Day and everyone's in line for the Wonderland rollercoaster ride! There are a number of people queued up, and each person wears a sticker indicating their initial position in the queue. Initial positions increment by &nbsp;from &nbsp;at the front of the line to &nbsp;at the back.<

read more...