This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm trying to do some sample exercises in Data Structures, but I'm a newbie when it comes to Java language. So, could you help me what to do here? Your expertise will be greatly appreciated. These examples are: 1) Write a method, L.delete First(), that deletes the first node of a Linked.List object L. 2) Given a non-null pointer N to a List Node of a list L, and a pointer M to a new ListNode to be inserted, write a Java method to insert the node that is M's referent before the node that is N's referent on list L. [Hint: Adjust pointers to indert M after N and then swap the airport codes in N and M.] 4-ever greatful- CS [ September 11, 2003: Message edited by: Corinna Sanchez ]
Hi Corinna, I am going to close this thread since it is a duplicate post. Please try to refrain from posting duplicate posts in the future. Thanks. Also, as Bear had mentioned in that other thread, we tend to not do people's homework for them. Not because we don't want to help you learn, that actually is what we want more than anything. And giving you the answers to your homework will not help you learn. Doing it and experience is the greatest education you can have. Good Luck. Mark