nthLast
nthLast is a concept used in programming and data manipulation to refer to an element within a sequence or collection based on its position counting from the end. Instead of accessing an element from the beginning of the sequence, nthLast designates an element by its distance from the final element. For instance, the 1stLast element is the very last element, the 2ndLast element is the second to last, and so on.
The utility of nthLast lies in scenarios where it's more convenient or efficient to work backward from