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
On this page of the site you can watch the video online Sherlock and valid strings hackerrank solution with a duration of hours minute second in good quality, which was uploaded by the user Kuldip Ghotane 20 August 2020, share the link with friends and acquaintances, this video has already been watched 4,258 times on youtube and it was liked by 60 viewers. Enjoy your viewing!