Problems related to vectors,map,set

i often see people using STL in their codes.
Can anyone post some problems related to vectors,set and map so that it will be easy to learn and implement them

1 Like

Yes, STL at times ease out the task but as such there are no specific problems for using standard library elements. Some questions may require explicit use of them, but you can still go through some of these:

Please see, almost every problem can be solved with STL if we can think of the possible inbuilt containers of STL which do the computations efficiently. The above are just the questions I remember which needed simple application of STL.

this might be helpful to learn STL.