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
Watch video Sherlock and valid strings hackerrank solution online without registration, duration hours minute second in high quality. This video was added by user Kuldip Ghotane 20 August 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,060 once and liked it 58 people.