Pergunta de entrevista da empresa Forio

Find the matching letters that two strings share.

Resposta da entrevista

Sigiloso

11 de dez. de 2015

used a hashmap to store all the letters from one string and then used a for loop to cylce through the second string and see if any of the letters existed as keys in the hashmap.