Game strategy ( recurssion)

getting one test case failed
why?

Please check the code You have send . You have send code of some other problem.Resend the code