Loop Programming Practices that Simplify Quicksort Implementations

06/12/2019
by   Shoupu Wan, et al.
0

Quicksort algorithm with Hoare's partition scheme is traditionally implemented with nested loops. In this article, we present loop programming and refactoring techniques that lead to simplified implementation for Hoare's quicksort algorithm consisting of a single loop. We believe that the techniques are beneficial for general programming and may be used for the discovery of more novel algorithms.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset