package leetcode; public class leetcode27 { public static void main(String[] args) { new leetcode27().removeElement( new int[]{ 3,2,2,3 },3 ); } public int removeElement(int[] nums, int val) { int result=nums.length; for(int i=0;i