Created
December 17, 2009 12:23
-
-
Save ernesto-jimenez/258708 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Fue ver implementado el QuickSort en Erlang | |
% Y acto seguido estaba comprando un libro de Erlang en Amazon | |
quicksort([]) -> []; | |
quicksort([Pivot|Rest]) -> | |
quicksort([Front || Front <- Rest, Front < Pivot]) | |
++ [Pivot] ++ | |
quicksort([Back || Back <- Rest, Back >= Pivot]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment