Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    Description needs to be more clear how the initial state grows in size.

  • Custom User Avatar

    Off by one error here. downs should default to 0.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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 ;"

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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".