Re:Bubble Sort: An Archaeological Algorithmic Analysis
by yoz-y on Monday August 28, 2017 @11:41AM
(#15117300)
Yes. I thought that "scales" was the same thing as balances when used for a single object. I see that it does not.
[ Parent
| on HN ]
Re:Bubble Sort: An Archaeological Algorithmic Analysis
by jamessb on Monday August 28, 2017 @01:07PM
(#15118189)
A "Pair of scales" does mean the same as a "balance", but "scales" on its own sually means a device containing an electronic (or spring) weighing mechanism.
Re:Bubble Sort: An Archaeological Algorithmic Analysis
by daveFNbuck on Monday August 28, 2017 @12:07PM
(#15117568)
Why is bubble sort what you would use for heavy bags?
Re:Bubble Sort: An Archaeological Algorithmic Analysis
by yoz-y on Monday August 28, 2017 @12:45PM
(#15117980)
The problem goes something like this: You have N number of bags of the same size but different (maybe) weights. You have nothing to write and only balances. The easiest way to sort them is to put them in a row, compare them two by to and swap them in order.