Sherlock and valid strings hackerrank solution

Published: 20 August 2020
on channel: Kuldip Ghotane
4,108
58

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