dfs that takes a tree node and a list node as arguments.dfs with the next list node and both children of the tree node.isSubPath that initiates the DFS search from the root of the tree.dfs with the current tree node and head of the linked list.isSubPath on the left and right children of the current tree node.