Submitted by heartin on Sat, 05/30/2015 - 09:31
Implement a method remove(int data) to remove the first node with given data from a linked list.
Assumptions
-
There is a class Node with two elements:
Submitted by heartin on Sat, 05/16/2015 - 22:47
Implement a method to add(int data) to add a node to end of a linked list.
Assumptions
-
There is a class Node with two elements:
Submitted by heartin on Wed, 05/13/2015 - 21:19
Given two sorted (ascending) linked lists L1 and L2. Write a program to merge them into a single descending linked list.
Example: