Deserialize Time : Space : 1234567891011vector<string> Solution::deserialize(string A) { vector<string> res; string now = ""; for(auto a : A) { if(isdigit(a)) continue; else if(a == '~') res.push_back(now), now = ""; else now.push_back(a); } return res;}