Ginkgo (Pakistan) interview question

Kth end element in linked list, second largest element