class Solution { public: unordered_map<int,TreeNode*>parent; vector<int>ans; TreeNode* t; void findParent(TreeNode* root) { &...