It is working fine but not getting submitted.Plz help.
Code link -> https://ide.codingblocks.com/s/128991
Tree bottom view not working
hey @Aakash-Gupta-2308897339337431, unable to see ur code, can you share it here or paste it somewhere else and share the link…
hey @Aakash-Gupta-2308897339337431, i saw ur code, i think problem is in ur logic, can we discuss the logic once?
sure sir i will join you there
https://www.youtube.com/watch?v=V7alrvgS5AI i have used this video to solve this question.check this vdieo once
can you provide me the 2nd test case.It will be a great help
20 8 22 5 3 4 25 -1 -1 10 14 -1 -1 -1 -1 -1 -1 -1 -1
20 8 22 5 3 4 25 -1 -1 10 14 -1 -1 -1 -1 -1 -1 -1 -1 also tell me one thing how can i build a tree from this type of input.Is my method correct??? sorrt by mistake i also posted this question in other doubt but help me in this.
there is better way… let me write code for you…
5 10 4 22 25 is this the answer??
Thank you so much for the help.The problem was in my building of the tree .Thank you for the help.Can i ask you for the help in some other platform from here.My placement sesion is going on .It will be a great help.
hey @Aakash-Gupta-2308897339337431, Welcome
. Yes you can ask problems from other platform, we will try our best to solve the problem but solution is not guaranteed in that case. And please raise all your doubts in Ask Doubt Section.
Thank You 