Pregunta de entrevista de Revolut

Questions around binary trees and leetcode style interview