Pergunta de entrevista da empresa Rafay Systems

Basic DSA: Next Greater Element.

Resposta da entrevista

Sigiloso

6 de mar. de 2026

Graph : Given a Binary tree and a node where a fire starts at t=1s, explain how would you give a list of all nodes that catch fire at each second starting from t =1 to t=n ( Given).