Width Of Shadow Of Binary Tree
easy
1. Given a Binary Tree, return Width Of Shadow Of A Binary Tree. 2. For more detail watch the video.
Constraints
0 <= Number of Nodes <= 10^5 -1000 <= value of Node data <= 1000
Format
Input
Input is managed for you.
Output
Output is managed for you.
Example
Sample Input
15
1
1
-1
1
1
-1
1
-1
-1
1
-1
-1
1
-1
-1
Sample Output
3
Question Video