Answers for "sort list prolog"

0

sort list prolog

%Sort and remove duplicates:
sort(List, SortedList).

%Sort and don't remove duplicates:
msort(List, MSortedList).
Posted by: Guest on October-26-2021

Browse Popular Code Answers by Language