here is my code . why is it giving wrong answer on second and third test case . please help .
String compression problem
hello @gulatigarvita08
i think u have misunderstood the problem .
u only have to compress consecutive same letters.
for example->
aabbbaaac
should be compressed as a2b3a3c1
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.
hi sir … can you please tell me the problem in my code of heap implementation through array…
i posted my doubt but could’nt find the correct answer …
some other ta is taking ur doubt so i cant reply over there.
u can raise a new doubt, i will try to help u.