Can you tell me the test cases for which the code is giving wrong output
Https://ide.codingblocks.com/s/122625
@shivanshmittal25
Your code works fine. The only problem is with your output format. In case of duplicates , you are supposed to print “Not Duplicates” . You are missing out the ‘s’ at the end and print “Not Duplicate”.
Make this little change your code passes .