Add NextMinReverse Algorithm