strivedi4u / hacktoberfest2024

This repository is for beginners who want to contribution in open source Hacktoberfest 2024.This project is designed to promote learning and growth in the field of software development. It offers a range of coding challenges and projects that cover various topics, from basic algorithms to complex application development.
Apache License 2.0
50 stars 227 forks source link

8. Find the height of a binary tree #11

Open strivedi4u opened 1 week ago

strivedi4u commented 1 week ago

Description: Given the root of a binary tree, write a function to find its height. Input: The root of a binary tree. Output: The height of the binary tree. Example:


Input: [1, 2, 3, null, null, 4, 5]  
Output: 3
Tanishka534 commented 1 week ago

Please assign this issue to me

strivedi4u commented 1 week ago

⭐ If you find this repository helpful, please give it a star! ⭐