Sherlock And The Valid String || HackerRank Problem Solution || Python

preview_player
Показать описание
Hackerrank Problem, sherlock and the valid string python solution is given in this video, its explanation is also provided. The sherlock and the valid string problem is solved in python language with full explanation and animation. So i hope you all will understand the logic and explanation.

Important Links :

#validString
#sherlockAndTheValidString
#hackerrank

Thank You.
Jai Hind.
Рекомендации по теме
Комментарии
Автор

its feasible to use counter for getting frequency dictionary

ruchirkumarkadwey
Автор

It will fail for abbcc input, as the min is 1 but with 2 elements having freq 2, if you can check for that corner case, should be fine

liveon_mytemrs