Not passing all test cases

Hi, I am not able to pass all testcases here. Where am I going wrong?

Code Link