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.
Wow, I feel dumb after seeing some of these solutions :D
O(1), unless you mean n as the number of bits in the inputs :)
Yes that makes sense now. There is a bijective relationship between those jars and combination of people who glow.
This comment is hidden because it contains spoiler information about the solution
How does this work??
https://www.postgresql.org/docs/9.4/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
fHate
? :DGreat, very clean!
Agreed, can somebody fix the Quickcheck tests here? They are extremely brittle and force the player to stumble upon the same implementation by trial and error, without really learning anything interesting. The
roundingSol
problem mentioned by bkaes means that the player also does not get useful feedback during that trial and error process.This comment is hidden because it contains spoiler information about the solution
Sneaky! Didn't know you could do this :P
This comment is hidden because it contains spoiler information about the solution
+1 for "throw a gigantic paddy".
The testcase expected/actual diff should give you some clues. I'm guessing that using
String.format
that way causes the number to be rounded, instead of truncated toward zero.Loading more items...