Sort disjoint sublist: Difference between revisions

m
changed the order of categories so that they are displayed in the correct order.
(Added Arturo implementation)
m (changed the order of categories so that they are displayed in the correct order.)
Line 1:
{{task|Sorting AlgorihmsAlgorithms}}
{{Sorting Algorithm}}
[[Category:Sorting]]
{{task|Sorting Algorihms}}
 
Given a list of values and a set of integer indices into that value list, the task is to sort the values at the given indices, while preserving the values at indices outside the set of those to be sorted.