diff --git a/RemoveElement.java b/RemoveElement.java new file mode 100644 index 0000000..4fd2b22 --- /dev/null +++ b/RemoveElement.java @@ -0,0 +1,22 @@ +class RemoveElement { + public int removeElement(int[] nums, int val) { + int count = 0; + for(int i = 0;i