News for hackers. Stuff that matters.
Re:A Quick Puzzle to Test Your Problem Solving by yequalsx on Thursday July 02, 2015 @04:47PM (#9821522)
There isn't a way to check order for complex numbers in any reasonable way.
Re:A Quick Puzzle to Test Your Problem Solving by nandemo on Thursday July 02, 2015 @11:29PM (#9823265)
But the problem statement doesn't imply the rule involves ordering.

Likely, it doesn't accept complex numbers (or vectors or matrices) as input as part of the (implicit) spec: in common parlance, "number" tends to mean real number.

Re:A Quick Puzzle to Test Your Problem Solving by yequalsx on Friday July 03, 2015 @02:08PM (#9827033)
The tests with real numbers indicate that the rule is one based on order. So the problem doesn't state this but it is easily deducible when working with real numbers. Hence no need to check complex numbers. In common parlance in mathematical circles "number" tends not to mean real number unless context makes this obvious.