Pregunta de entrevista de Ginkgo (Pakistan)

Kth end element in linked list, second largest element