HackerRank: Two strings problem and solution (JavaScript)

Опубликовано: 12 Октябрь 2024
на канале: Read Write Exercise
5,947
55

This is an explanation of the problem and solution for the Two Strings HackerRank problem. This is one of the hashmaps and dictionaries problems in the interview preparation set of challenges.

In this video I'll walk through how to add characters from one array to a hashmap and then compare the other string against that hashmap to see if there is overlap between the strings.