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.
Great technical kata, congratulations and thanks for posting it.
Very nice and funny kata for exercising sorting algorithms.
the tests depend on
OrderedDict
beingimport
ed by the user at the top levelshould be:
Great kata on object oriented programming, well done.
This is a great kata! This is very simple and easy. I solved in 1 minute! Very fulfilling, thanks Codewars! If you're struggling, look at the formula. You need to round it to four places too, so make sure you know the right method.
I find most kyu 4 more easy than this kata.
Which order the subsets are expected?
Maybe just return false if no solution exist, but I agree, your points are fair ones
I agree with most of the suggested improvements here. Two things to clarify/change:
[]
, not an empty set containing an empty solution[[]]
. This one needs to be changed.[[x,y,z]]
makes much more sense than the un-nested solution itself[x,y,z]
. However, this will invalidate all prior solutions; waiting on feedback from more experienced nerds on this one. I think a backwards compatibility shim would be appropriate.This comment is hidden because it contains spoiler information about the solution
improved version at:
https://www.codewars.com/kumite/667f498c4127b008cd4c6ddc?sel=667f498c4127b008cd4c6ddc
please approve.
clarification of the other comment: by 2 different operators, I meaned 2 different string versions of the same operator
This kata have several issues:
<<
< <
or>>
> >
with no added value, why adding to 2 different operators???[]
and not the same than any other case, an nested array, like:[ [] ]
otherways great kata, super fun, should be kyu 4 at least... this can't be the same as splitting a url.
EDIT: I forked the kata, please approve, I speeded up the solution and make the changes aformention in the top section. Fork bellow:
For anyone that's having trouble with this one, research how to use backtracking and recursion! :)
Python random tests say "...matrices up to 20 rows or 20 columns..." although only up to 9 is tested (as stated in the description).
.
Loading more items...