What is the problem in this code just one test case pass

Hey Rohit, just mark condition as k>0 instead of k>=0.