Subtree of Another Tree

Given the roots of two binary trees, root and subRoot, determine whether subRoot is an exact subtree of root.

A subtree must match in both structure and node values. A single matching node is not enough unless every descendant also matches.

Examples
Input: [[3,4,5,1,2],[4,1,2]]
Output: true
Hints

Subtree of Another Tree

Given the roots of two binary trees, `root` and `subRoot`, determine whether `subRoot` is an exact subtree of `root`.