AJIO Interview Question

Max level sum in tree