Regarding Reduntant Parenthses

I have solved it but i am unable to get correct answer.
code link: https://ide.codingblocks.com/s/68106

Try printing Not Duplicates instead of Not duplicate…as mentioned in the question.

@sakshamm14 your output should be matched with sample one so do as dhruv bhaiya suggest you to do

Okay…i got that…Thanks

Hey Saksham,
I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.