Strings making anagrams hackerrank solution

Publicado el: 09 agosto 2020
en el canal de: Kuldip Ghotane
3,425
45

In this video I have discussed String : making anagram solution from hackerrank preparation kit playlist.

Naive approach -- transverse first string and check the element exist in second string or not and we will calculate how many characters which do not make pairs

Optimized approach : we can create character frequency array (mapping char and freq value) and we can check the absolute difference for all 26 characters in two frequency array( first string ,second string )


if you are trying to solve all the problems from hackerrank interview preparation kit playlist and getting stuck anywhere or looking for optimized solution do check my playlist
   • Hackerrank Interview Preparation Kit  

0:00 Start
0:32 Problem Definition
2:30 Naive approach with example
5:45 Optimized approach
11:15 Writing code


En esta página del sitio puede ver el video en línea Strings making anagrams hackerrank solution de Duración hora minuto segunda en buena calidad , que subió el usuario Kuldip Ghotane 09 agosto 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,425 veces y le gustó 45 a los espectadores. Disfruta viendo!