Simplex Trading interview question

Linked list kth before last element.