Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't matter what you leave beyond the new length. 题目的要求大概是给定一个数组和一个值,删除数组中所有和该值相同的元素并返回一个新的长度 说一下思路: 可以采用双指…