July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
29
:
54
Back to Dashboard
Fire Spread in Binary Tree
Medium
Question
You are given the root of a binary tree and a target node value. A fire starts at the target node and spreads to all adjacent nodes simultaneously each second. ...