Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
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. ...
Asked at:Goldman Sachs
More Goldman Sachs interview questions
- Best Average Scoreeasy
- Autocorrect Anagram Prototypeeasy
- Triangle Point Containmentmedium
- Optimal Team Formationmedium
- Compute Process Starvationmedium
- Count All Grid Squareseasy
- Maximum Deployment Scoremedium
- Final Values by Source Precedenceeasy
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.