Copy linked list Java
Everything that I have tried hasn't worked when trying to create a deep copy of this linked list that is created. Whenever I try to use the basic implementation from my textbook it doesn't work because the int can't be dereferenced. What I have tried: I have tried to use the basic implementation that my book gives me(listed below) and change the variables to match but it still will not work. It throws errors saying that my LLwithNodeLab class can't contain the arguments that I am giving it. Basic implementation from my book: Add your solution hereB I U S small BIG code var < > & link [^] encode untab case indent outdent Preview 0
When answering a question please:
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL) CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900 |