Can you provide diagramatical view

i didn t understand the working of line
vector::iterator it=!=v[i.]end().end();i++

can you give structural view how vector os student datatype looking

@guptanikhil898
0 - vector
1 - vector
2 - vector
.
.
.
so you see every index has a vector so v[i].begin() means at ith index the pointer to that vector ka front and end() means uska last element +1 so we are just basically iterating over every index and then vector kind of like 2d.

i hope its cleared if yes dont forget to mark it as resolved :smiley: