摘要: 1 public int removeElement(int[] nums, int val) { 2 int last = nums.length - 1; 3 for (int i = 0; i <= last && last >= 0; i++) { 4 while (last >= 0 && nums[last] == val) last--; 5 if (last >= 0 && i < 阅读全文
posted @ 2019-09-30 22:14 dodoBehind 阅读(153) 评论(0) 推荐(0) 编辑