I'd much prefer that to fizzbuzz. Last time I had to do fizzbuzz, I finished it so quickly that I used the remainder of my time (so as not to look like I copypasta'd the answer - which I didn't) optimizing it to be as fast as I could make it, then added tests and result logging, etc.
They were kinda shocked at what I did with it, because no one else had went that far with such a simple thing. Honestly, I thought it was stupid and boring, considering I've been a dev for so long - its a bit insulting.
At least the kind of test you got was a bit more interesting...
They were kinda shocked at what I did with it, because no one else had went that far with such a simple thing. Honestly, I thought it was stupid and boring, considering I've been a dev for so long - its a bit insulting.
At least the kind of test you got was a bit more interesting...