Pergunta de entrevista da empresa Revolut

Questions around binary trees and leetcode style interview