Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps

Publicado el: 17 julio 2024
en el 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`


En esta página del sitio puede ver el video en línea Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps de Duración online en buena calidad , que subió el usuario Jadi 17 julio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 605 veces y le gustó 20 a los espectadores. Disfruta viendo!