ya fir recursion ke vaapsi ke vakt str ko khali krte jaaye character by character
Digital Dictionary
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
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.
dekhna bhaiya , kuch dikkat hai shayad…
cstring to kar dia
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
line 78
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
okay bhaiya ,
thank you so much
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.