class Solution { public: int KthNode(TreeNode* proot, int k) { if(!proot) return -1; stack<TreeNode*>sta; sta.push(proot); TreeNode *leftNode = proot; int cot = 0; while(!sta.empty()){ while(leftNode->left != nullptr){ ...