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.
Ruby 3.0 enabled in this fork + KaTeX in description
Description:
Should be language agnostic (remove function names)
Forth note
should be placed in a conditional blockDescription should be language agnostic (Function call / name in task section should be replaced)
Ruby 3.0 enabled in this fork
Fixed in this fork
Enabled in this fork
Me too. I used recursion with memoization and still, no not fast enough in Python while my C++ solution without memoization works without a hitch.
And which rotations are missing?
But it does? What is missing?
Because the provided array doesn't contain all rotations of the string
"12341234"
.Why?
The test case
strng = 12341234, arr = ['DIeF', 'IeFD', '12341234', '41234123', '34123412', '23412341'] -> true
is wrong: it's supposed to befalse
instead oftrue
.Enabled in this fork
standard javascript .sort() does the lexicographic sorting on it's own, then just find a solution for sorting by length
The kata description of how it wants the result sorted is expressed in a very convoluted way,
hellorup has reworded it perfectly but it's been marked as spoilers so not much help to people trying to solve the problem
I felt like I was moving in circles for a moment.
Loading more items...