Move Non-Zero Integers | tech::interview
Follow Up:
把要求改成:
- 把所有的非0元素都放在数组的左边
- 要求对数组元素的change 最少。
- 最右边的值是什么都行。
- 函数返回的是number of non-zero elements,一个整形
Read full article from Move Non-Zero Integers | tech::interview
Move Non-Zero Integers | tech::interview
Follow Up:
把要求改成:
Read full article from Move Non-Zero Integers | tech::interview