Redundant Parenthesis (lack of test cases)

Can you please verify if my code is correct or not?

hello @tasfikrahman007 i have given you one more test case in the code below and your code is working perfectly fine for this test case also .


please mark this as resolved if you feel your doubt is cleared.
Happy Learning !!