Anonymous user
Order disjoint list items: Difference between revisions
Promote to full task from draft.
m (→{{header|Tcl}}: whitespace) |
(Promote to full task from draft.) |
||
Line 1:
{{
Given <code>M</code> as a list of items and another list <code>N</code> of items chosen from <code>M</code>, create <code>M'</code> as a list with the ''first'' occurrences of items from N sorted to be in one of the set of indices of their original occurrence in <code>M</code> but in the order given by their order in <code>N</code>.
|