Implement n-tail (return last n elements)

Asked at Confluent · Coding Questions · Difficulty: Easy · Last asked Jul 15, 2026

Implement `n_tail(arr, n)`, which returns the last `n` elements of a list, in their original order.

Loading the problem…