ServiceNow Interview Question

implement linked list and find the kth smallest node from bst