What Does this Notation Mean here?

l = new vector< pair < int,int>> [n];

What is “[ n]” Going to do?

hello @JaveedYara

we are declaring an array of vector whose size is n.
here n is the indicating the size of array

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Hi Aman. All these days I wasnt able to open the mail. But you were kind enough to reply to whatever question I have asked. Be it Dumb, or rather something that required us to think. you have helped me to think. Thank you so Much. Sorry for being a jerk and not rating your answers.

1 Like