Google interview question

given a method that can show if a node should be deleted or not, return the tree

Interview Answer

Anonymous

16 Nov 2019

I gave a BFS solution, the interviewer was so patient and nice.