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.
hi, made changes
Hi, the test is correct. The result should be 2.
thank you
Hi, how do I know who approved the kata
fixed it, thanks.
found the problem there are no simple tests
Hi, I'm the author of the translation, what problem are you talking about, please specify.
Hi, thanks for taking the time to look at my problem. I'll make changes later.
Hi, the solution will pass only if you find a way to solve the problem without loops. as wrotes below in the comments inList numbers are sequentially from 1 to n this should help you to solve the problem without loops
your solution has a bug that incorrectly handles four zeros in sequence
example input data [9, 0, 0, 0, 0, 0, 9]
your code will return [ 9, 0, 9, 0, 0, 0, 0, 0 ]
Hi I checked
your code gives wrong result for
this sequence [9, 0, 0, 0, 9, 1, 2, 0,
1, 0, 1, 0, 3, 0, 0, 1,
9, 0, 0, 0, 0, 0, 0, 9] can you check locally
needs to be checked
Translation Dart
I don't quite understand you. Can you show me an example?
Hi in dart there are tuples and there is a fixed array, what are these data structures for in this task?
The test headers were taken from python solution during translation
now on dart
Translation Dart
Loading more items...