December Lunchtime CHEALG

Can anyone please have a look and tell me why it got WA on submission?
Thank you

Your solution fails on the testcase:

1 Like

Thanks for the response. Should the answer here not be β€œYES” ? Because the given string is of length 10 and the shortened will be : β€œa3b4c3” which is of length 6.

I think you may have misread the question: the shortened version of the string is not β€œa3b4c3” :slight_smile:


Oh my god now i see it! This is what happens when you do things half asleep. Thanks for your responses

1 Like