I haven't solved this one yet, but looking at the asserts, they don't make sense to me.
"assert secretroom(5) == 1 #five, four, one, three, two" - surely the answer here is 2? why is 1 the answer?
and "assert secretroom(1000) == 551" - surely out of all the numbers, the two hundreds would be the last after a sort? What am I missing here?
Created at: 2021/02/26 09:51; Updated at: 2021/02/26 15:36