Re:Sort an array using only one local variable
by userbinator on Saturday April 23, 2016 @12:13PM
(#11556123)
That's the essence of a goto-based state machine (one of the few problems where gotos are the most natural solution), compared to the alternative of storing the state in a variable and doing an extra indirection every transition to "go to" the right one.
[ Parent
| on HN ]
There are no comments on this comment yet.