摘要:
``` class Solution { public: void moveZeroes(vector& nums) { if(nums.empty()) return; int n=nums.size(); int idx=n-1; while(idx>=0&&nums[idx]==0) idx- 阅读全文
posted @ 2023-07-15 09:30
穿过雾的阴霾
阅读(11)
评论(0)
推荐(0)
摘要:
``` class Solution { public: bool searchMatrix(vector>& matrix, int target) { if(matrix.empty()||matrix[0].empty()) return false; int n=matrix.size(), 阅读全文
posted @ 2023-07-15 09:15
穿过雾的阴霾
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号