[0, 2, 1, 2, 3, 5, 1, 2, 4] [0, 0, 1, 1, 1, 2, 3, 3, 3]