#include <unordered_map> #include <vector> class Solution { private: int k_{}; int target_{}; vector<int> res_; unordered_map<int, TreeNode*> parents_; public: void findParents(TreeNode* root) { if (root->left) { parents_[root->le...