What is wrong in this code


why not all testcase correct

in this code there is no function made to solve question