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.
This comment is hidden because it contains spoiler information about the solution
If you post your code, and mark it "spoiler", others can take a look.
Yep, looks much more sexier, thanks.
This comment is hidden because it contains spoiler information about the solution
Random tests in Python and Java are aligned, and sufficiently random for such a simple problem IMHO.
Thank you for the concept
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I liked this one as well. Interesting how everyone has solved it so far.
I agree with comments of Joshua B. Should be a higher grade Kata.
Definitely agree, spot on with your comments.
Good Kata, gave me good practise in the use of switch statement.
Hi, I've checked some of the submitted Kata and they are failing on the Tests but appear to have been submitted? They fail on the
shouldReturnFalseOnReversedDoublebrakets(BrakedBalanceTest)
test and they should fail but I was wondering why they appear as solutions?
Hi RySkinz, your code looks fine to me. Re your question, a lot of the Kata can be split into a) those that need more coding skills and b) those that need more maths and logic skills - although our codes show that you can often do them in either way. But if you do web searches for the type of problem at hand, for example, "rectangles within rectangles" with words like combinations, permutations and maths, you will often find a math explanation. Also there is a site called stackoverflow that is very good for programming questions and answers. P.S. I'm largely self taught at coding myself.
Hey man, im a self-taught coder. It took me a while to figure out the solution for this one, I did it a completely different way. It would have been much easier if I had used the same sort of mathematical logic like you did. What does one read/should know to think like this.
Loading more items...