sample test case is getting passed but giving wrong answer while submitting the problem https://ide.codingblocks.com/s/60444
Redundant Parentheses problem
Your code gives a wrong output , because you have to print
Duplicate
Not Duplicates
You have print - ‘Not Duplicate’ in line no. 39
2 Likes