Given a binary tree, a designated friend's node that catches fire, and a uniform spread rate of 1 unit per time to all neighbors (parent and children), find the time taken for the fire to reach your…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.