Microsoft interview question

LinkedList, Trees delete kth node from end of linkedlist