home.social

Search

76 results for “bterwijn”

  1. An exercise to help build the right mental model for Python data.
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

    The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: github.com/bterwijn/memory_gra

  2. How does Radix Sort work?

    Algorithms like Radix Sort: memory-graph.com/#codeurl=http
    are much easier to understand when you can see every intermediate step.

    Using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: github.com/bterwijn/memory_gra
    you can watch how Radix Sort repeatedly applies stable Counting Sort, sorting the least significant digit up to the most significant digit in turn.

    Radix Sort is be very efficient, with time complexity O(n · d), where 'n' is the number of values and 'd' is the number of digits.

  3. Algorithms can be easier understood with step-by-step visualization using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵. Here we show a Breadth First algorithm that finds the shortest path in a graph from node 'a' to node 'b': memory-graph.com/#codeurl=http

    𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 github: github.com/bterwijn/memory_gra

  4. An exercise to help build the right mental model for Python data.
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

    The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: lnkd.in/e3sUM7wG

  5. Data Structures in Python get easy when you can simply see the structure of your data using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵. A Hash_Set example: memory-graph.com/#codeurl=http

    𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: github.com/bterwijn/memory_gra

  6. An exercise to help build the right mental model for Python data.
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

    The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: github.com/bterwijn/memory_gra

  7. An exercise to help build the right mental model for Python data.
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

    The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening.

  8. An exercise to help build the right mental model for Python data.
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

    The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening.

  9. An exercise to help build the right mental model for Python data. The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening:
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

  10. Understanding a data structure like linked list in Python is a lot easier when you can just see it. Linked_List demo: memory-graph.com/#codeurl=http

    𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 visualizes Python objects and references, so data structures stop being abstract and become something you can debug with ease. No more endless print-debugging. No more stepping through 50 frames just to find one sneaky reference/aliasing mistake.

  11. An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

  12. Teaching data structures in Python gets easier with 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 visualizations. Data structures are no longer abstract concepts but concrete, clear and easy to debug.

    Hash_Map demo: memory-graph.com/#codeurl=http

    This Hash_Map (Hash_Table) is a Python implementation similar to 'dict'. The demo visualizes:
    - adding key–value pairs
    - rehashing
    - lookup by key
    - iterating over keys

  13. An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

  14. An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

  15. Visualization of Python execution can help beginners to understand how their program state changes over time and to debug any remaining issues.

    For example, a classic intro-course exercise — computing which coins to use to pay an amount using a greedy approach:
    memory-graph.com/#codeurl=http

  16. An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
    - Solution: memory-graph.com/#codeurl=http
    - Explanation: github.com/bterwijn/memory_gra

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

    Here we show values being added to a Linked List in Cursor AI. When adding the last value '5' we "Step Into" the code to show more of the details: raw.githubusercontent.com/bter

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

  18. 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

  19. Here’s Selection Sort running with memory_graph. You can see the updating of `min_value` and the swaps of list elements in each step. Run a one-click live demo in Memory Graph Web Debugger: memory-graph.com/#codeurl=http
    Visual feedback like this helps beginners grasp what the code does and debug with confidence.

  20. 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