Re:The Non-Programming Programmer
by jff on Monday February 22, 2010 @09:52AM
(#1142742)
Given that most people would be answering this in some form of imperative language, I'd say that any solution which includes "for", some "if"s or a "switch", and a few judiciously placed modulus operations would be sufficient. Actually, if I were giving the test, I'd probably ask for pseudocode anyway.
[ Parent
| on HN ]
There are no comments on this comment yet.