Show an algorithm to place the set (6,2,1,9) into descending order using a flow chart and trace tables using diagrams or example | Sololearn: Learn to code for FREE!

-1

Show an algorithm to place the set (6,2,1,9) into descending order using a flow chart and trace tables using diagrams or example

I want to see how the program works especially the flow chart plus the algorithms as well from the start to stop

4/12/2021 8:06:36 AM

Dalitso Saviel Chilomo

10 Answers

New Answer

+1

https://www.sololearn.com/learn/774/?ref=app

+1

To quote my former computer science professor, the only good thing about bubble sort is it's name. It's a very slow algorithm although it's conceptually easy to understand So if you're working with a very large dataset it can run painfully slow However, with a small dataset and with the faster CPUs' these days I guess the difference isn't that noticeable Try quicksort. At least it can perform much faster unless the dataset is sorted in reverse order already

0

look up "bubble sort"

0

Algorithm is the step by step to giving task

0

Use BUBBLE SORT : If (b>a){ temp=a; a=b; b=temp;}

-1

SoloLearn is not a homework completion service.

-1

Start and stop by flow chart

-1

follow for follow meeeeeeeeeeeee

-1