[1, 2, 1] 2 adding j = 1 t = 1 i = 0 adding j = 2 t = 1 i = 0 0 0 [1, 2, 2]