NeetCode #432LC-1367MediumTrees
← Back to All Problems#432 · #1367 · Linked List in Binary Tree(二叉树中的链表)
📌 Problem Statement & Constraints
Given a binary tree
root and a linked list head, return true if the list's values form a downward path in the tree. Constraints: the number of nodes in the tree is in [1, 2500], in the list in [1, 100], 1 <= Node.val <= 100.🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!