Ad
  • Default User Avatar

    He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)

  • Default User Avatar

    If the water consumption rate was changed, any method would have to be rewritten. The rate is not provided as a parameter here, thus we have no choice but to perform a calculation based on a constant in the code. I suppose it could be assigned to a variable for ease of changing later, but that is not a requirement of this kata.