天天看點

數組循壞右移

1.本質:插入

方法1:建立新數組

方法2;反轉

eg:1234 右移2