(28S) Sorting lists
|
12-12-2013, 02:26 PM
(This post was last modified: 06-15-2017 01:59 PM by Gene.)
Post: #1
|
|||
|
|||
(28S) Sorting lists
Hi everyone,
This small program takes a list in the stack and returns the sorted list using the bubble sort algorithm. Code:
Bubble sort is not very efficient as sorting method, but the algorithm is simple to understand. Another method more efficient is the selection sort: Code:
One more, with insertion method this time ! Code:
Damien. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(28S) Sorting lists - Damien - 12-12-2013 02:26 PM
RE: [HP 28S] Sorting lists - C.Ret - 02-16-2014, 08:19 PM
RE: [HP 28S] Sorting lists - Thomas Klemm - 02-17-2014, 09:29 PM
|
User(s) browsing this thread: 1 Guest(s)