I am struggling to solve tree questions. I am unable to identify the approach to the questions. I did the basic tree problems like bfs, dfs, height, diameter, etc. thoroughly but still not able to solve the medium problems. Suggest some tips and tricks to tackle tree questions.
I watched multiple tutorials on trees but still not able to figure out the correct approach.
user26012069 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.