Removedupplicates recursion

not getting output

@guptashubham210a

bro i have responded with the code and ur error in the other doubt u posted
please look at that

that was diff this removing duplicates.

oh sorry wait i assumed they are same
let me check

bhai @guptashubham210a
sir ki video dekho yrrr
bhot kharatarnak logic h yeh i & j walla
ya jo mene code bheje h
last 2 doubts ke
usse sekho khud try karo
i & i+1 compare karte h j ka logic mt use karo

please khud try karo then i`ll help

ok I will try wait pls

I have tried and finally got it but extra char are also cooming garbage value also

my code :
https://ide.codingblocks.com/s/282433

expainthe logic of the code where i have put ?? sign

I have got it yesterday only ,by thinking the logic , thanks for your response though.
we are copying elements after repeating chars to repeating place.

1 Like

great @guptashubham210a
good luck

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.