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.
I agree that it's not always good, but it's not always bad either. Just got to make sure it's clear, and you don't need to rewrite or change it later.
one line obssesive people >:(
Are you sure ?
no man i did this so short .. fckk you win :( . Thats a insane approch :) gg
I believe the idea (Chris'one) is rather to say in the description that: Is considered mispelled any word that matches the first element of a subarray.
It is defined in the 2-dimensional array
words
that is given as an input (its a 7kyu after all).Example:
"badword" is the wrong word and "correctword" is the correction to it
then the array would be
[["badword","correctword"]]
Can you define a mispelled word here? How different does it have to be from the correct word to be classified as a mispelling? e.g. I'm thinking of hamming distance or some other metric
Fixed it.
Youre right about the empty array, changed that too.
The random test already generates empty lists
will do that
(well, you made it very inefficient, but I guess that won't be a problem here... ;o )
seems ok, yes... Mmmh, actually no. The tests with empty lists are incorrect:
and you need to enforce (or at least "allow") the random tests to produce those empty lists too, from time to time.
Thank you for the feedback, completly overlooked those points.
I think I fixed everything now.
(please correct me if im wrong)
Hi,
describe
blockcheers
the random tests randomly generate words + sentences out of those words
(I hope I understood you correctly)
Thanks :-)
this is beautiful!!!
Loading more items...