I am not able to understand vectors of vectors. i have went through geeks for geeks but still i am not able to understand it

is there any way you can explain me fully the concept of vectors of vectors

see
vector<vector < int > > vec
is similar to 2D array concept
here u have to define the no of rows u are wanting in the 2D array u are willing to make

vector<vector < int > > vec( n , vector < int > ( m , 0 ) )
will help u make 2D matrix of dimension n * m and all values initialised to 0