Odd even sort



Use this interactive animation to understand it better...

Go ahead, enter a list of numbers separated by commas,



( This animation mimics parallel behaviour )

Why this can be used for parallel machine is probably understood by animation, as we can see that now comparisons of numbers in one phase can be done simultaneously and it swap numbers without affecting further sequence of algorithm unlike bubble sort.