Ok, yes that test case should fail that code. Thanks for explaining that there should be a revalidation process. They just jumped out as, that can't work...
I guess I'm stuck with the formatting, as I don't see a button to edit it. Are we only allowed a single edit (unless maybe with the Red subscription?)
Ok, yes that test case should fail that code. Thanks for explaining that there should be a revalidation process. They just jumped out as, that can't work...
I guess I'm stuck with the formatting, as I don't see a button to edit it. Are we only allowed a single edit (unless maybe with the Red subscription?)
This comment is hidden because it contains spoiler information about the solution
The problem becomes really easy if that is given away. That's an important part of the challengE. There is no "lying". It's how physical money works.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
How the heck does this account for the order in which people arrive? As its all sums.
Run it with [100, 25, 25, 25, 25, 25] and it fails. should be NO, but returns yes.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution