Linked List in Binary Tree - Leetcode 1367 - Java

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • Problem Description
    Given a binary tree root and a linked list with head as the first node.
    Return True if all the elements in the linked list starting from the head correspond to some downward path connected in the binary tree otherwise return False.
    In this context downward path means a path that starts at some node and goes downwards.
    - Problem: leetcode.com/p...
    - Code link: k5kc.com/cs/al...

Комментарии •