Simple As a Substring!

Many years have passed after Simba’s death. The jungle has a new lion cub born just a few hours ago…

Click here to read the complete problem statement.

If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.