One testCase is passed but others are failing don't know why?

Can you help me what’s wrong with my code?

Link to my code is