public ListNode removeNthFromEndOld (ListNode head, int n) {
		int i = 0;
		ListNode node = head;
		while (node != null) {
			node = node.next;
			i++;
		}
		node = head;
		if (n == i)
			return head.next;
		else {
			for (int j = 1; j < i - n; j++) {
				node = node.next;
			}
			node.next = node.next.next;
		}
		return head;
	}