摘要: 下面有四个问题:把数组元素前后部分交换 MoveFirstPartOfArrayToTheEnd(int[]array, int index)比如 {1,2,3,4,5,6,7} 3 => {4,5,6,7,1,2,3}把数组元素前后部分交换 MoveFirstPartOfArrayToTheEnd(int[]array, int value)比如 {1,2,8,4,5,6,7} 8 => {4,5,6,7,1,2,8}把数组一段移动到后面MoveSomeElementsToTheEnd(int[]array, int startIndex, int length)比如{1,2,3 阅读全文
posted @ 2014-03-19 15:24 AnnieBy 阅读(24408) 评论(1) 推荐(0) 编辑