home.social

#binarytree — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #binarytree, aggregated by home.social.

  1. Teaching and learning Python data structures gets much easier when you can see the structure of your data in real time using the open-source memory_graph package. Here is a 'Binary Tree' example:
    memory-graph.com/#codeurl=http

  2. Understanding and debugging Data Structures is easier when you can see the structure of your data using memory_graph: github.com/bterwijn/memory_gra

    In this example we show values being inserted in a Binary Tree. When inserting the last value '29' we "Step Into" the code to show the recursive implementation: shorturl.at/bx848

    🎥 See the Quick Intro video for the VS Code integration: youtu.be/23_bHcr7hqo

  3. Ever tried finding the minimum depth of a binary tree? 🌳 It’s not as simple as it sounds! The challenge lies in correctly identifying the shortest path to a leaf node (one with no children). This post dives into the nuances, common pitfalls, and multiple solution approaches—recursive and iterative—to tackle this problem effectively. Whether you're a coding enthusiast or prepping for interviews, this is a gem! Read more here: fanyangmeng.blog/111-minimum-d #LeetCode #BinaryTree #Coding

  4. Need a random map for your Rust game project? Np.

    🦀 **knossos**: A Rust library / CLI for generating mazes.

    🚀 Supports multiple algorithms & saving to a file!

    ⭐ GitHub: github.com/unrenamed/knossos

  5. Inverting a binary tree is a classic problem that teaches valuable lessons about tree traversal and recursion. This blog post explores different approaches, including recursive and iterative methods, and compares their strengths and weaknesses. Whether you're preparing for technical interviews or enhancing your algorithmic skills, understanding this problem is crucial. Dive in to strengthen your tree manipulation skills! 🌳🔄 Read more: fanyangmeng.blog/invert-binary #BinaryTree #Algorithms

  6. Another new sample photo - here's Leaf!! The final pin of the Earth Unit Line!

    The clear enamel is a little overfilled here, but otherwise it's almost there! To get this pin, follow the Short Circuit pre-launch page here: backerkit.com/call_to_action/8 🍂✨

    #leaf #leaves #binarytree #printedcircuitboard #pcb #natureart #scifiart #enamelpins #pins #backerkit #pintopia #artistsonmastodon

  7. ☑️ Day 26/100: #Leetcode daily question

    🟨 Question: 951. Flip Equivalent Binary Trees

    Good binary tree question and I did see the approach but got good understanding of tree questions

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 My Leetcode Github: github.com/akshatsingh1718

    🔗 Solution Link: github.com/akshatsingh1718/lee

    #coding #Algorithms #python #binarytree #bst

  8. ☑️ Day 25/100: #Leetcode daily question

    🟨 Question: 2641. Cousins in Binary Tree II

    Easy binary tree question but I saw the solution, could be done without seeing it.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  9. ☑️ Day 24/100: #Leetcode daily question

    🟨 Question: 2583. Kth Largest Sum in a Binary Tree

    Easy binary tree question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  10. This clip is a bit more peaceful than that chaotic-looking one that I posted a couple of days ago 🙂.

    #mathart #mathsart #binaryTree

  11. Some stuff that led to me thinking about a relationship between #PascalsTriangle and #binaryTrees.

    It seems to have started with me trying to represent Pascal’s triangle using things like #crochet, #macrame, #braiding and #knitting.

    #mathart #mathsart #binaryTree

  12. Some stuff that led to me thinking about a relationship between #PascalsTriangle and #binaryTrees.

    It seems to have started with me trying to represent Pascal’s triangle using things like #crochet, #macrame, #braiding and #knitting.

    #mathart #mathsart #binaryTree

  13. Some stuff that led to me thinking about a relationship between #PascalsTriangle and #binaryTrees.

    It seems to have started with me trying to represent Pascal’s triangle using things like #crochet, #macrame, #braiding and #knitting.

    #mathart #mathsart #binaryTree

  14. Some stuff that led to me thinking about a relationship between #PascalsTriangle and #binaryTrees.

    It seems to have started with me trying to represent Pascal’s triangle using things like #crochet, #macrame, #braiding and #knitting.

    #mathart #mathsart #binaryTree

  15. Some stuff that led to me thinking about a relationship between #PascalsTriangle and #binaryTrees.

    It seems to have started with me trying to represent Pascal’s triangle using things like #crochet, #macrame, #braiding and #knitting.

    #mathart #mathsart #binaryTree

  16. A radial #binaryTree

    Tweeted 4 year ago with this comment: “One thing that came out of this question is...a radial #binarytree. I think that @inversed_ru did something similar a while back in a different context. I may map this onto a cone, put it in a 3d modling program, intertwine branches...or...or...something #mathart #geometricart”. Note that the user name corresponds to Twitter, not Mastodon.

  17. Here is a clip to do with the #PascalsTriangle #BinaryTree shown as individual paths layered together

    #mathart

  18. Something that I drew representing a #woven binary tree (from four years ago).

    #BinaryTree