In this video I have discussed Sherlock and valid string hackerrank solution from hackerrank interview preparation kit.
Code : https://gist.github.com/Kuldip-G/7aad...
In the video I have discussed using Simple array and basic conditions
1. character frequency needs to be same
.If we are having more than 2 diff frequency then we will never have valid string
3. Checking the diff betn maximum frequency of character and minimum
if you are someone who is 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
1:09 Problem Definition
2:04 Explanation
8:25 Code
In questa pagina del sito puoi guardare il video online Sherlock and valid strings hackerrank solution della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kuldip Ghotane 20 agosto 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,258 volte e gli è piaciuto 60 spettatori. Buona visione!