i didnot understand second for loop and implimentation of data members of class.
Facing promblem About code
Hello @raghav.0goel,
The second for loop is a range based for loop.
You can read about it here: https://www.geeksforgeeks.org/range-based-loop-c/
It will iterate over the elements of the list present at index i, sequentially.
for( int(i.e. data type of elements stored in list) nbr(variable to store value) : l[i](list present at the ith index) )
What implementation are you talking about?
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.