Pergunta de entrevista da empresa SamCart

Find out if two strings are anagrams.

Resposta da entrevista

Sigiloso

2 de fev. de 2016

You can either sort the strings or add each letter of each string to a key value store where key is a letter that exists in the string and value is the number of times it exists, and compare the two.