Someone help me in vector

here i only want to know from where i should have to study so my vector concept will clear
because when i see the solution people used it and i am not able to figure it out, Check this out.

bhai this is not enough i think

Maybe this article will help you then

ok i will read it

This may help you to understand basics of STL.
It also includes video on vectors, if you want you can skip to that.

What’s there to study in vector? it’s just a bunch of push_back, sort (other stl functions)etc. Practice basic problems using vector and you are good to go. Whenever you are stuck, google the syntax