问题描述: 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. 问题分析:给定一个数组,一个value值,从这个数组中删除所有值为value的元素,并返回数组leng…