LeetCode — Remove Element
Problem statement
Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed.
Since it is impossible to change the length of the array in some languages, you must ...
alkesh26.hashnode.dev5 min read