can you please tell how to do this about this problem , how to think to slove bigger problem
if share code plz don’t use vectors.
How to think approch for this problem
hey I did not understand what approach, can you change vector part please.
or suggest some video , editorial if possible
If u don’t want to use vector, u can replace it with a array of strings, but there u will also have to maintain a count variable which vector eases out…
Hello sir I am trying this but even I didn’t get what are we doing here.
like in line 12 : what this part will do ( str[i] - ‘0’ - 1 + ‘a’ ) .
we are converting that integer to character over here…
okay thanks…
is there anything else? or shall i mark it as resolved?
nark it as resolved
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.
hello i have done this prolem using char array but i got a litter prob in o/p.
o/p is wrong in last 12 [ab, l, ] it’s print extra comma and sapce how to remove it?
@mahroosanwar0901_2642b14836027bbf,
check this https://ide.codingblocks.com/s/657665
ive updated the code
can you please make changes without using vector ?
ok mark as resolved…
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.