---
title: "Discussion on \"Maximum Width of a Binary Tree: Counting the Nodes That Aren't There\" | Hashnode"
description: "Discussion on \"Maximum Width of a Binary Tree: Counting the Nodes That Aren't There\". A BFS story about empty positions, heap-style indexes, and why re-basing keeps your numbers small."
url: "https://hashnode.com/posts/maximum-width-of-a-binary-tree-counting-the-nodes-that-aren-t-there/6ac9254cb8f25ffd2bd94a31"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Maximum Width of a Binary Tree: Counting the Nodes That Aren't There](https://mayankdev.hashnode.dev/maximum-width-of-a-binary-tree-counting-the-nodes-that-aren-t-there?utm_source=hashnode&utm_medium=feed)

A BFS story about empty positions, heap-style indexes, and why re-basing keeps your numbers small.

Oct 9 · 5 min read · mayankdev.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#binarytrees](https://hashnode.com/tag/binarytrees)
-   [#bfs](https://hashnode.com/tag/bfs)
-   [#cpp-ck4ra5k7300nlv2s1jbkdp2qh](https://hashnode.com/tag/cpp-ck4ra5k7300nlv2s1jbkdp2qh)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#data-structures-and-algorithms](https://hashnode.com/tag/data-structures-and-algorithms)

## Written by

[Mayank Mahajan](https://hashnode.com/@Mayank9056)

@Mayank9056 · Maharashtra, India

  
[View profile](https://hashnode.com/@Mayank9056)

Backend-Focused Full Stack Developer

Backend-focused Full Stack Developer building production-grade web applications. I write about backend engineering, system design, authentication, databases, DSA, and lessons learned while building real-world software.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
