- 博客(1)
- 收藏
- 关注
原创 力扣刷题笔记-移动元素篇-移动零
力扣刷题笔记-移动元素篇-移动零 数组中移动元素 链接: link. 图片: Show me the code class Solution { public void moveZeroes(int[] nums) { int lens = nums.length; int slow = 0,fast = 0; while(fast < lens){ // 控制循环进行 if(nums[slow]== 0){ // 找
2021-05-23 13:46:05
161
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人