Tree bottom view

im not able to understand sample input and output, can u explain that?

@sktg99
The input is quite similar to the BFS algorithm.
Use this code snippet for the input - https://ide.codingblocks.com/s/154779