One test case not passing


pls check 1 test case is giving wrong answer

Hello @professor,

Your code is failing for the test cases with k>=N which could be a possible case as specified in the question.

Corrected Code:

Hope, this would help.