Can we use STL method?

here is my code >>>https://ide.codingblocks.com/s/578180

sir , i use method which prateek bhaiya tell us…
i am just asking , is there any way by which we can use std List class and then iterate over both list like array and merge them ?

here u have used recursion to merge the lists. u can do it iteratively also

yes , bhaiya we can do that. I am asking…
can we do it without making “node” container.
we make list using “listL1,L2;”
and then, is there any way to iterate over them and compare their elements ?

yes there is a way. u can use list data structure. its like kind of linear data structure where there is no node container containing address and all

there are many implementations of list like in graphs

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.