Concept Flow - Garbage collection and array references
Create array A
Assign B = A (reference)
Modify B affects A
Delete A
B still holds reference
Delete B
No references left -> Garbage collected
This flow shows how arrays share references, how deleting one reference doesn't delete the data until all references are gone, triggering garbage collection.