# Kotlin Whiteboard , Episode 22: Count the Nodes | Kodeco

**URL:** <https://forums.kodeco.com/t/kotlin-whiteboard-episode-22-count-the-nodes-kodeco/197027>\
**Category:** 🎓 Courses & Articles\
**Created:** [October 4, 2023, 1:46am UTC](https://forums.kodeco.com/t/kotlin-whiteboard-episode-22-count-the-nodes-kodeco/197027 "2023-10-04T01:46:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macsimus](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macsimus/32/109104_2.png) [@macsimus](https://forums.kodeco.com/u/macsimus)\
**Post date:** [October 4, 2023, 1:46am UTC](https://forums.kodeco.com/t/kotlin-whiteboard-episode-22-count-the-nodes-kodeco/197027/1 "2023-10-04T01:46:20Z")

</div>

> This content was released on Jul 28 2020. The official support period is 6-months from this date.

How many nodes are there in a perfectly balanced Binary Tree of height 3? What about a perfectly balanced Binary Tree of height h?

* * *
This is a companion discussion topic for the original entry at [https://www.kodeco.com/11447782-kotlin-whiteboard/lessons/22](https://www.kodeco.com/11447782-kotlin-whiteboard/lessons/22)
