I dont know whether to use stl or create function and how to take input because in the tutorial input was taken by assuming a 0 at the end of every list
Can someone send a sample solution
@tusharnitharwal hey read this link ,you will get how to take input in linked list without zero as input in end.
https://www.sanfoundry.com/c-program-create-linked-list-display-elements/