I can't find any edge cases please help me out

Hey, I’ve tried this problem and I made it but I couldn’t pass all the test cases, and I am unable to find any edge cases.
Please help me out.
You can find the code in this link -