0027-remove-element/0027-remove-element.java
<filename>0027-remove-element/0027-remove-element.javaclass Solution {
    public int removeElement(int[] nums, int val) {
        int j = 0;
        for(int i = 0; i< nums.length; i++){
            if(nums[i] != val){
                nums[j] = nums[i];
                j++;
            }
        }
        return j;
    }
}