problem
https://practice.geeksforgeeks.org/problems/top-view-of-binary-tree/1
my code
https://ide.geeksforgeeks.org/SPGXnSgV9z
why my code output is not correct ?
problem
https://practice.geeksforgeeks.org/problems/top-view-of-binary-tree/1
my code
https://ide.geeksforgeeks.org/SPGXnSgV9z
why my code output is not correct ?