SoundHound Interview Question

1.Given a string, return stripped string w/o spaces

Interview Answer

Anonymous

Dec 27, 2019

std::string ourStr = "It's more than a feeling."; ourStr.erase(std::remove(ourStr.begin(), ourStr.end(), ' '), ourStr.end());