Why isnt push back working?

Hi,

You should push the vector instead of integer.

No, i want to add an integer to the inner vector

that is why i used v[l].push instead of just v.push

it worked in this https://ide.codingblocks.com/s/195969 but not working in the above code

Hey @tusharnitharwal
You were using vector incorrectly
Please see the modified code here https://ide.codingblocks.com/s/217183

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.