It is giving me wrong for this test case
Can someone please explain me how does this tree look like and why leetcode uses serialization when it comes to binary trees ? Thanks In advance :)
Take a look at this tree visualization tool written by @StefanPochmann:
thanks to you and @Stefan for sharing such useful info ..