The explanation doesn't make sense, the function doesn't pad before the array.