Piyush and Magical Park

giving third test case error , can you help me in it

Hi @vikashkmr519,
The variable s should never be less than k in its entire span. Added a few line to check whether s<k …Here is the code