Remove duplicates


what is the logical error in this code?
Kindly comment it out

Hello @mkidwai74 I you storing and making changes using indexing then you have to print it also by using indexing only.
Check this:


If you have any doubt you can ask here
Happy Learning!!

Can you please share the code again, When i open it theres nothing in it

The code above is giving an error

@mkidwai74 what is the error it is showing?

@mkidwai74check now
https://ide.codingblocks.com/s/422537

image

image
Still giving the same error

Try to make the change like i<op.size ();

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.