• 1 输出二叉树的所有路径 xff08 从根到所有叶子节点 xff09 回溯 void getAllPath TreeNode root std vector lt std vector lt int gt gt amp all paths