Make Unreal REAL.
article thumbnail
Level 0. ad 제거하기

 

 

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

vector<string> solution(vector<string> strArr)
{
    auto new_end = remove_if(strArr.begin(), strArr.end(), [](string& s) { return s.find("ad") != string::npos; });
    strArr.erase(new_end, strArr.end());

    return strArr;
}
profile

Make Unreal REAL.

@diesuki4

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

검색 태그