function KthNode( proot , k ) { if(proot===null) return -1; // write code here let arr = []; function search(root,arr){ &nb...