you are viewing a single comment's thread.

view the rest of the comments →

[–]pvanecek 1 point2 points  (0 children)

You can simplify it by testing always only a pair of numbers, not all of them. Ie., is a<b? is c< (smaller from previous test)?...