📅  最后修改于: 2022-03-11 14:44:51.091000             🧑  作者: Mango
// my linkedin : https://www.linkedin.com/in/vaalarivan-prasanna-3a07bb203/
// 1-D case
vector vec(desiredVectorSize, 0);
// 2-D case
vector> vec(desiredNoOfRows, vector(desiredNoOfColumns, 0));