---
title: "Discussion on \"Binary Trees | Types | BFS | DFS\" | Hashnode"
description: "Discussion on \"Binary Trees | Types | BFS | DFS\". Introduction\n\nArrays and linked lists are flat structures, whereas a tree is a hierarchical structure.\n\nIf a tree has only 2 children, then it is called a binary tree.\n\n\nTerminology\n\nRoot: The head of the tree is called the root node.\n\nLeaf node: A n..."
url: "https://hashnode.com/posts/binary-trees-types-bfs-dfs/66eeb7b6aa0869f570b2b7ae"
---

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

Discussion

# [Binary Trees | Types | BFS | DFS](https://chetan77.hashnode.dev/binary-trees-types-bfs-dfs?utm_source=hashnode&utm_medium=feed)

Introduction Arrays and linked lists are flat structures, whereas a tree is a hierarchical structure. If a tree has only 2 children, then it is called a binary tree. Terminology Root: The head of the tree is called the root node. Leaf node: A n...

Sep 21, 2024 · 6 min read · chetan77.hashnode.dev  
Read the article

-   [#traversals](https://hashnode.com/tag/traversals)
-   [#binarytrees](https://hashnode.com/tag/binarytrees)
-   [#trees](https://hashnode.com/tag/trees)
-   [#bfs](https://hashnode.com/tag/bfs)
-   [#dfs](https://hashnode.com/tag/dfs)
-   [#breadth-first-search](https://hashnode.com/tag/breadth-first-search)
-   [#depth-first-search](https://hashnode.com/tag/depth-first-search)
-   [#inorder](https://hashnode.com/tag/inorder)
-   [#preorder](https://hashnode.com/tag/preorder)
-   [#postorder](https://hashnode.com/tag/postorder)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

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

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
