Pregunta de entrevista de Salesforce

Connect next pointers at every level of a complete binary tree and then for a generic binary tree

Respuesta de la entrevista

Anónimo

7 ene 2019

Solved using DFS as well as BFS, then was asked to optimize space complexity.