Digital Dictionary

ya fir recursion ke vaapsi ke vakt str ko khali krte jaaye character by character

jab recusion vaapis aayega tab index purana wala hi rahega(jo call karte time tha) isilye hame kuch alag se nahi karna

ab try karo is problem ko ho jaana chaiye

1 Like

chalo thik hai bhaiya , krke dekhta hu

Bhaiya dekhna , kaha dikkat aa rhi hai?

bro tum c++ string use kar rahe ho(0 size ki), uski jagah pe c string(char array) use karo.

by defualt c++ string ki size zero hoti hai, aur phir ham uspe indexing nahi laga sakte.

1 Like

dekhna bhaiya , kuch dikkat hai shayad…
cstring to kar dia

@CODER_JATIN
aise bol raha tha bhai ->

1 Like

bhaiya jab (temp->terminal) true hoga tab str[i]=temp->data bhi to daalenge?

bro usko pehle hi daal diya tha ,call karne se pehel ss

line 78

1 Like

acha okay bhaiya ,
jese ab isko lexicographically print krana to , vector mai daal du ?

fir vector ko sort krdu?

nahi maine ,unordered map ko map se replace kar diya hai.

to wo apne aap lexicographical order hi generate karega

1 Like

okay bhaiya ,
thank you so much :slight_smile:

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.

1 Like