TheAlgorithms / Java

All Algorithms implemented in Java
MIT License
59.93k stars 19.37k forks source link

I would like to add a code for finding the height of binary tree #3713

Closed anushkashelke closed 1 year ago

anushkashelke commented 2 years ago

This question is mostly asked in interviews and coding rounds I want to provide an efficient solution to this problem

Very easy solution with O(n) time complexity

Niketdeshmukh commented 2 years ago

I can solve this problem, can you assign it to me?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!