please help in what is wrong in my approach.
Right view of given binary tree
@Basant-Kumar-1342173592623612
hello Basant,
ur logic to print right view is correct.
the issue is with ur buildtree function . u need to build tree from given level order.

