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.
Отличное Ката. Автору большое спасибо.
resultArray.plus
).count()
at each loop iteration, so it'sO(n²)
the array size in the Kotlin's random tests can go up to
100000
, that's why they time out. it does not seem to be a kata issue, closinglooks like someone fixed it, the line is now:
and i see no generated warnings
Yes. Read the last part of the description again. You take 20 and 37 and drop the next 20 as in the previous example.
"With list [20,37,20,21] and number 1, the result would be [20,37,21]."
This assumes I have to delete the second occurence and not the first one? Or am I wrong?
Lua translation!
The translate method applies the translation table to the input string dna, replacing each character according to the mapping.
kata hint != kata suggestion
@VDSurChauffe well i agree now
nothing is cheating here as long as you don't use exploits
Approved
Lua translation!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
duplicate issue
Loading more items...