---
title: "Discussion on \"LeetCode 1448: Count Good Nodes In Binary Tree — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 1448: Count Good Nodes In Binary Tree — Step-by-Step Visual Trace\". Count the number of ''good'' nodes in a binary tree, where a node is considered good if there are no nodes with a value greater than it in the path from root to that node."
url: "https://hashnode.com/posts/count-good-nodes-in-binary-tree-visualization/69d7d202cbde7a930d4aaec2"
---

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

Discussion

# [LeetCode 1448: Count Good Nodes In Binary Tree — Step-by-Step Visual Trace](https://blog.tracelit.dev/count-good-nodes-in-binary-tree-visualization?utm_source=hashnode&utm_medium=feed)

Count the number of ''good'' nodes in a binary tree, where a node is considered good if there are no nodes with a value greater than it in the path from root to that node.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#binary-tree](https://hashnode.com/tag/binary-tree)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
