Question d’entretien chez Ginkgo (Pakistan)

Kth end element in linked list, second largest element