leetcode:移除元素Java实现
package LeetCode;public class DelectVal { public int removeElement(int[] nums, int val) { if(nums.length<0)return 0; if (nums.length==1&&nums[0]==val)return 0; ...