DSA Byte#27
Автор: Ezzy Byte
Загружено: 2025-04-04
Просмотров: 150
Описание:
🌳 Quick MCQ: Height of a Tree with a Single Node! 🌳
What is the height of a tree with just one node? 🤔
🎯 Correct Answer: 0
📌 Why?
The height of a tree is the number of edges on the longest path from the root to a leaf.
A single-node tree has no edges, so its height is 0.
Formula:
Height of a single-node tree = 0
Height of an empty tree = -1
🚀 Boost your DSA knowledge with EzzyByte!
#DSA #Java #Tree #MCQ #CodingInterview #EzzyByte
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: