Domanda di colloquio di Salesforce

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

Risposta di colloquio

Anonimo

7 gen 2019

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