LeetCode27 : 移除元素C++

class Solution { public: int removeElement(vector<int>& nums, int val) { int tmp_len = nums.size(); if(tmp_len==0) return 0; else{ int temp
相关文章
相关标签/搜索