- Time : O(n)
- Space : O(n)
c++
1 | string Solution::serialize(vector<string> &A) { |