public static <E> E findNthFromTail(final LinkedList<E> list, int n) {
		if (n < 1) {
			throw new IllegalArgumentException("Cannot find element with n="
					+ n);
		}
		Collections.reverse(list);
		Iterator<E> iterator = list.iterator();
		int i = 1;
		while (i < n && iterator.hasNext()) {
			iterator.next();
			i++;
		}
		if (i == n && iterator.hasNext())
			return iterator.next();
		else
			return null;
	}