Remove the last element from the array, decreasing its size by one.
Category: algorithms
Difficulty: beginner