Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 20:13:24 EDT

Explore

PostsPeople
LatestRanked
@bterwijn.bsky.socialSep 27, 2026, 11:47 AM

๐ŸŒณ Recursive tree traversal in Python visually explained:
memory-graph.com#codeurl=http...

A binary tree can be traversed in three classic ways:
๐Ÿ”น ๐—ฃ๐—ฟ๐—ฒ๐—ผ๐—ฟ๐—ฑ๐—ฒ๐—ฟ: current, left, right
๐Ÿ”น ๐—œ๐—ป๐—ผ๐—ฟ๐—ฑ๐—ฒ๐—ฟ: left, current, right
๐Ÿ”น ๐—ฃ๐—ผ๐˜€๐˜๐—ผ๐—ฟ๐—ฑ๐—ฒ๐—ฟ: left, right, current

#Python #memory_graph #Recursion #BinaryTree

@bterwijn.bsky.socialSep 16, 2026, 11:36 PM

Data Structures in Python get easy when you can see the structure of your data using ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต. A Binary Tree example: memory-graph.com#codeurl=http...

VS Code setup: dai.ly/xb2u52e?star...

memory_graph GitHub: github.com/bterwijn/mem...

#PythonDev #memory_graph #DataStructures #BinaryTree

@aipromptgirl.bsky.socialSep 11, 2026, 2:53 PM

One traversal. O(n) time.

A simple example of letting recursion do the bookkeeping for you.

#DSA #BinaryTree #Algorithms #Coding