###原题目
```cpp
Given an array nums and a value val, remove all instances of that value in-place and return the new length. Given an array nums and
```cpp
Given an array nums and a value val, remove all instances of that value in-place and return the new length. Given an array nums and