Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps

Pubblicato il: 17 luglio 2024
sul canale di: 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`


In questa pagina del sito puoi guardare il video online Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps della durata di online in buona qualità , che l'utente ha caricato Jadi 17 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 605 volte e gli è piaciuto 20 spettatori. Buona visione!