leetcode283-移动零
摘要:
https://leetcode.cn/problems/move-zeroes/ 方法一:双指针法 设置两个指针 i 和 j , 1 class Solution { 2 public: 3 void moveZeroes(vector<int>& nums) { 4 int i,j,size=n 阅读全文
posted @ 2022-09-04 15:44 ᶜʸᵃⁿ 阅读(10) 评论(0) 推荐(0) 编辑