2 ms·
No, because appending with push_back() which strings must also support is required to have O(1) amortized time. See my comment here for details: https://news.y
by sltkr 3y ago
No, because appending with push_back() which strings must also support is required to have O(1) amortized time.
See my comment here for details: https://news.ycombinator.com/item?id=38032949 https://news.ycombinator.com/item?id=38032949