Is it possible to do this in O(1) Space Complexity?

programming
Tags: #<Tag:0x00007f18380a0080>

#1

Comment body goes here.


#2

Yeah. You have to find each level sum and find max from it.