"Arrays are especially nice for this problem due to their support for slicing." . . . .