Re:Easier Than Fizz Buzz – Why Can't Programmers Print 100 t...
by heyalexej on Friday April 10, 2015 @07:43AM
(#9353659)
[ Parent
| on HN ]
Re:Easier Than Fizz Buzz – Why Can't Programmers Print 100 t...
by robkix on Friday April 10, 2015 @09:54AM
(#9354251)
Why reversed range? Range is fully capable of descending [1]
You also missed the point of the exercise: start at 0 in your index, but count backward from 100 in output. So the map is 0->100, 1 -> 99, ..., 99 -> 1, 100 -> 0