Unique number ll

code : https://ide.codingblocks.com/s/205905

no error… still output is not coming

@chaman9 I can see that the code is working fine in my laptop.
And it fails for this case .
4
2 2 3 5

@chaman9 https://ide.codingblocks.com/s/205921 This code works fine try submitting.

thank you so much for this!

@chaman9 if you doubt has been resolved please close this doubt.