⚠️ Warning: This is a draft ⚠️
This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.
If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.
==Page update of 15 January== I reverted the change by RomilAditya as they replaced the entire page with their new solution:
-module(solution). -import(lists,[delete/2,max/1]). -compile(export_all). selection_sort(,Sort)-> Sort; selection_sort(Ar,Sort)-> M=max(Ar), Ad=delete(M,Ar), selection_sort(Ad,[M|Sort]). print_array()->ok; print_array([H|T])-> io:format("~p~n",[H]), print_array(T).
main()-> Ans=selection_sort([1,5,7,8,4,10],), print_array(Ans).
Not sure what language it is... --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 11:52, 15 January 2017 (UTC)
: The computer programming language is: '''XPL0''' -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:25, 21 September 2018 (UTC)