Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Program Discussion :: Trees

Home > Programs > Trees

5 / 17

Given a binary tree and at any moment of time, a given node starts to fire, after one-second fire reaches to all the nodes which are directly connected with given node so the fire cycle continues as same. You need to find minimum time at which whole tree will be burnt.

Answer:


Asked In :: SAP Labs HackerRank

Post Your Answer Here: