vector V[] and vector< vector > V both are 2D array.
vector V[]
vector< vector > V
But what is the differenc
vector V[] is just a fixed array; and so you can add/modify only till the upper limit. It is not a vector per se, and so has a fixed size limit. However vector< vector > V is a dynamic vector and its size can be increased dynamically.