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.
That test will initialize a server object with
max_connections
set and attempt to exhaust the number of connections, recieving an error when no more connections are allowed.Description needs to be more clear how the initial state grows in size.
Off by one error here.
downs
should default to 0.There definately need to be more edge test cases. My code has a bug where if the team does not get to 10 yards in the first three downs it will return false, even if it got past 10 in the fourth. But it still passes all the tests.
To help with the spacing issues, you should code format all input and output examples.
Example:
"GOOG 300 542.0 B"
Vs
Example: "GOOG 300 542.0 B"
And
"Buy: 263 Sell: 11802; Badly formed 2: CLH16.NYM 50 56 S ;OWW 1000 11 S ;"
"Buy: 100 Sell: 56041; Badly formed 1: ZNGA 1300 2.66 ;"
Vs
"Buy: 263 Sell: 11802; Badly formed 2: CLH16.NYM 50 56 S ;OWW 1000 11 S ;"
"Buy: 100 Sell: 56041; Badly formed 1: ZNGA 1300 2.66 ;"
This comment is hidden because it contains spoiler information about the solution
I'm kind of miffed that my recursive solutions were too slow, oh well.
But there really should be better feedback on that than "Expected -1, got 23 instead".