http://qs321.pair.com?node_id=1173961


in reply to Advanced Bubble Sort

Why do you need a bubble sort? What's wrong with built-in sort (once you figure out your versioning issue)?
As for the version issue, you might want to convert the version part of the string into something that can be alphanumerically compared with the other versions, then it'll be easy to keep only the last one.

Replies are listed 'Best First'.
Re^2: Advanced Bubble Sort
by GotToBTru (Prior) on Oct 14, 2016 at 12:18 UTC

    It's part of the homework assignment to use bubble sort.

    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)