Test case not passing (optimal game strategy)


please let me know where i m doing mistake