takeLastInPlace

Returns a sublist of the last n elements. The sublist is a view into the original list. Changes in the original list will be reflected in the sublist.

Return

A list containing the last n elements.

Parameters

n

The number of elements to take from the end.