---
title: "Discussion on \"Recursion vs Iteration: 13 Ways to Traverse a Tree.\" | Hashnode"
description: "Discussion on \"Recursion vs Iteration: 13 Ways to Traverse a Tree.\". To understand recursion, you must understand recursion. I will show you 13 different ways to traverse a tree to compare recursive and iterative implementations. This way, we will kill two birds with one stone: recursion and data structures and algori..."
url: "https://hashnode.com/posts/recursion-vs-iteration-13-ways-to-traverse-a-tree/5f8935f4d7dc0b17a97a1b71"
---

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

Discussion

# [Recursion vs Iteration: 13 Ways to Traverse a Tree.](https://codinglanguages.hashnode.dev/recursion-vs-iteration-13-ways-to-traverse-a-tree?utm_source=hashnode&utm_medium=feed)

To understand recursion, you must understand recursion. I will show you 13 different ways to traverse a tree to compare recursive and iterative implementations. This way, we will kill two birds with one stone: recursion and data structures and algori...

Oct 16, 2020 · 42 min read · codinglanguages.hashnode.dev  
Read the article

-   [#recursion](https://hashnode.com/tag/recursion)
-   [#interviews](https://hashnode.com/tag/interviews)
-   [#tutorials](https://hashnode.com/tag/tutorials)

## Written by

[Your DevOps Guy](https://hashnode.com/@CodingLanguages)

@CodingLanguages · Germany

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

Learn to think like a software engineer | Ex SDE @amazon

I am an Aerospace Engineer by degree, but I have always worked as a software engineer: previously at Amazon, developing Alexa, and currently at eBay. I am also an author at FreeCodeCamp.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
