public static <T> T kthStream(final List<T> list, final int k) {
        return list.stream().limit(k + 1).collect(Collectors.toCollection(LinkedList::new)).getLast();
    }
Find the Kth element of a list.
java8/src/main/java/com/shekhargulati/ninetynine_problems/_01_lists/P03.java