What is the best way to get second last, third last, and fourth last elements of a vector/array/slice of unknown length? The fewer lines of code the better.
There are cases where the second last exists but not the third last and the fourth last, so I prefer to get them separately, as
I don't require a generic solution, only second, third, and fourth last.
Lastly, the code shouldn't panic.