Sherlock and the Valid String step by step solution.
Github:
https://github.com/tkggames/Hackerrank/tree/master/src/design/tkggames/hackerrank
Problem:
https://www.hackerrank.com/challenges/sherlock-and-valid-string/problem
powerpoint:
https://docs.google.com/presentation/d/1HborImXSgqXSn3tBhH9bqEd6kkt7dZRqCfeOORltdyU/edit?usp=sharing