3 ms·You can also use vector of vectors. Reallocating would be cheaper. But access would incur extra indirection.by vbezhenar 8y agoYou can also use vector of vectors. Reallocating would be cheaper. But access would incur extra indirection.