I haven't solved it yet, but my understanding of the problem statement would be that:
I_am_WhatWhat_is_WhatWhat_I_am_WhatWhat_is_WhatWhat
would compress first to:
[I_am_WhatWhat_is_WhatWhat]2{_}1
And then you'd recursively compress the first part to:
[I_am_[What]4{_is_}2]2{_}1
11521 - Compressor
Moderator: Board moderators
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 11521 - Compressor
Check input and AC output for thousands of problems on uDebug!
Re: 11521 - Compressor
please can anyone please post test cases because i am getting wrong answer ?
thanks in advance
thanks in advance
11521-compressor wrong answer
i am getting wrong answer, can any one help me with test cases please
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 11521 - Compressor
Don't start a new thread.
Check input and AC output for thousands of problems on uDebug!