Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It would be brilliant if you knew all the task.
Also this code can not solve such task: a2(b)c2(d)
It gives the result: abcddbcdd
But the right result is: abbcdd
How can we make our program better? We do many tests and change it to get the correct result. Of course, we know all the input data and according to it change our code. How can I improve my code for solving this kata? I passed all the long tests (long sentences). It means, that my code is useful for any real situation. But I can not solve other small tests. I am disappointed...
Всегда было интересно. Каково в последствии править такой код? Вот нахера всё лепить в одну строку?