Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps

Publicado em: 17 Julho 2024
no canal de: Jadi
605
20

We have a magazine and a RansomNote draft and we want to know if we can create that RansomNote using the letters we have in the magazine. This can be solved in many ways. I'll do a standard hashmap solution first and later will show a solution which beats 95% of other peoples solutions; speed wise.

00:00 - Ransom Note using hashmaps interview questions
00:50 - Why hash maps
03:26 - Understanding the question and proposing the answer
06:33 - writing the solution
09:43 - Proposing a faster solution using `set` and `count`


Nesta página do site você pode assistir ao vídeo on-line Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps duração online em boa qualidade , que foi baixado pelo usuário Jadi 17 Julho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 605 vezes e gostou 20 espectadores. Boa visualização!