Amazon interview question

delete k th node from last in a inked list