only passing 2 test cases,where am i going wrong.
Piyush and magical park
Hey @kumarsaksham601, i have debugged your code here :https://ide.codingblocks.com/s/329772
you were missing cases where s<k moreover after executing your for loop while printing your answer as “No” , you weren’t giving new line i.e., with line number 28 of your code : else cout<<“No”;
Hope this will help you 