Medium syndication information

This commit is contained in:
Brandon Rozek 2023-01-05 14:04:45 -05:00
parent e5a96d735a
commit c5ff5538a6
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
276 changed files with 371 additions and 80 deletions

View file

@ -1,9 +1,13 @@
---
title: "Immutable Traversals with Unfold"
date: 2022-11-12T21:27:42-05:00
date: 2022-11-12 21:27:42-05:00
draft: false
tags: ["Functional Programming", "Scala"]
math: false
medium_enabled: true
medium_post_id: ddffc5b14ef9
tags:
- Functional Programming
- Scala
title: Immutable Traversals with Unfold
---
Let's consider the following binary tree:
@ -107,7 +111,4 @@ def DFS3(node: BinNode): Iterator[BinNode] =
val next_s = s.init ++ crnt_node.right ++ crnt_node.left
Some(crnt_node, next_s)
)
```
```