Could you please see what is wrong with my itteration because i guess the problem is in that if from the nest

后端 未结 0 394
醉话见心
醉话见心 2020-12-07 03:07

Their input is [0,1,2,2,3,0,4,2] 2 My Output: [0,1,2,3,0,4] Expected: [0,1,4,0,3]

class Solution {
public:
    int removeElement(vector& nums,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题