Given vector of list nodes, I am unable to extract the size of the vector using inbuilt size function
I was solving Leetcode question 23, the aim is to merge k sorted lists. The input is a vector of starting Listnodes of those k lists. I wanted to extract the size of this vector for my for loop but the inbuilt size function is giving random large integers as output.