3 ms·
I was illustrating the point that even the most minor of things can have many completely different looking but acceptable solutions. There's way way more than
by alextgordon 16y ago
I was illustrating the point that even the most minor of things can have many completely different looking but acceptable solutions.
There's way way more than "one or two" ways to solve it if a non-programmer is judging. Non-programmers won't have a command of the language necessary to parse uncommon syntax and idioms.
- jswinghammer 16y agoIf you define the parameters correctly there are really only two ways to solve itoa that I know of. Problems like this always have rules and boundaries. Besides the people who this question would screen could not tell you what an allocator might even be.