Run Time Error on one test case

only 1 test case is remaining and It is showing Run Time Error, my code:- https://bit.ly/3dPd1az

add one condition that if k==n return

then your code will not give run time error