r/Python_memory_graph • • Oct 05 '26

Solving SUDOKU

Post image
4 Upvotes

r/Python_memory_graph • • Sep 21 '26

How do we turn, say €24.72, into coins? 🪙🪙💰⛀⛁

Post image
4 Upvotes

r/Python_memory_graph • • Jul 10 '26

Recursive solution to the Tower of Hanoi problem

4 Upvotes

r/Python_memory_graph • • Jun 13 '26

Python Shallow vs Deep Copy

Post image
4 Upvotes

r/Python_memory_graph • • May 21 '26

Python Data Model exercise for right metal model for Python data

Post image
4 Upvotes

r/Python_memory_graph • • Mar 15 '26

How to copy a 'dict' with 'lists'

Post image
4 Upvotes

r/Python_memory_graph • • Feb 14 '26

Hash_Map Data Structure Visualized

4 Upvotes

r/Python_memory_graph • • Jan 01 '26

Copying an Object

Post image
4 Upvotes

r/Python_memory_graph • • Dec 03 '25

Bubble Sort Algorithm

4 Upvotes

r/Python_memory_graph • • Nov 19 '25

Data Structures Made Clear

4 Upvotes

r/Python_memory_graph • • Aug 25 '25

Memory Graph Web Debugger

Post image
4 Upvotes

🧠 Understand what your Python code is really doing by memory_graph visualization, despite the difficulties of the Python Data Model:

  • references

  • mutable vs immutable data types

  • function calls and variable scope

  • sharing data between variables

  • shallow vs deep copy

🧩 For example, what is the output of this program?

import copy

def fun(c1, c2, c3, c4):
    c1[0].append(1)
    c2[0].append(2)
    c3[0].append(3)
    c4[0].append(4)

mylist = [[0]]
c1 = mylist
c2 = mylist.copy()
c3 = copy.copy(mylist)
c4 = copy.deepcopy(mylist)
fun(c1, c2, c3, c4)

print(mylist) # What do you expect?

💥 See the live demo in Memory Graph Web Debugger.


r/Python_memory_graph • • 22d ago

How well do you really know Pandas? 🐼

3 Upvotes

r/Python_memory_graph • • Aug 20 '26

Adding objects to set or dictionary: equality and hashing

Post image
3 Upvotes

r/Python_memory_graph • • Jul 31 '26

Copying an object in different ways

Post image
3 Upvotes

r/Python_memory_graph • • May 09 '26

Mutability and Shallow or Deep Copy

Post image
3 Upvotes

r/Python_memory_graph • • Apr 23 '26

What's the difference between List copies in Python?

Post image
3 Upvotes

r/Python_memory_graph • • Apr 23 '26

Data Structure Visualized using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵

3 Upvotes

r/Python_memory_graph • • Jan 07 '26

Python Data Model exercise, Mutability.

Post image
3 Upvotes

r/Python_memory_graph • • Dec 26 '25

Cocktail Shaker Sort visualized

3 Upvotes

r/Python_memory_graph • • Dec 13 '25

Difference between Python copy options

Post image
3 Upvotes

r/Python_memory_graph • • Dec 03 '25

Python Mutability Exercise

Post image
3 Upvotes

r/Python_memory_graph • • Oct 30 '25

Selection Sort Visualized

3 Upvotes

r/Python_memory_graph • • Sep 18 '25

Understand the Python Data Model and Data Structures

3 Upvotes

Better understand the Python Data Model or Data Structures by memory_graph visualization with just one click:


r/Python_memory_graph • • Jul 21 '25

Python Mutability

3 Upvotes
  • Changing a value of immutable type results in an automatic copy

  • Changing a value of mutable type causes it to mutate in place

🧠 Understand the Python data model better using memory_graph.

🎥 Watch the explainer on Python Mutability.


r/Python_memory_graph • • 22d ago

Winter is Coming

2 Upvotes