Changed ListNode constructor to a static method, so that constructing ListNode from an empty int array gives null. This cannot be done with a constructor. Changed affected code.
Nth to last element of a linked list.
Delete middle node of linked list.
Add two integers represented as linked list.
Updated toString method of ListNode so it does not crash Eclipse when doing the 'LinkedList contains cycles' problem.
Circular linked list.