[erlang-questions] Bubble sort in Erlang
Sun May 20 02:29:08 CEST 2007
On Sat, 19 May 2007, Milen Dzhumerov wrote:
> So I wanted to implement some toy algorithms - would you believe me that
> I was kind of stuck for several days on the train while going to work
> implementing a simple bubble sort algorithm?
Quicksort and mergesort are easier to implement in a functional way than
bubblesort. Mergesort is generally faster in this setting.
f.a.n.finch <> http://dotat.at/
FISHER GERMAN BIGHT: SOUTH OR SOUTHWEST 5 TO 7. MODERATE OR ROUGH. RAIN OR
SHOWERS. MODERATE OR GOOD.
More information about the erlang-questions