Hey, I’m Nitin 👋

Python backend • Flask/FastAPI • SQL. Short, well-explained code guides.

Day 3: Your Data Structures Are Not What You Think (Lists, Tuples, Sets Internals)

You think a list is just a collection of items. It is not. It is a memory-managed structure with real trade-offs. Today, you stop using data structures blindly. Today’s Goal By the end of today, you will: Understand how lists, tuples, and sets work internally Learn time and space complexity Choose the right structure based on behavior and cost The Illusion data = [1, 2, 3] You think this stores values. Reality: [ ptr | ptr | ptr ] -> references to objects A list stores references, not values. ...

April 25, 2026 · 2 min · Nitin S Kulkarni

Day 2: Variables Don't Store Values (Python Memory Model)

If you think x = 10 means “x stores 10”… you are already misunderstanding Python. Today, we fix that. Today’s Goal By the end of today, you will: Understand how Python stores data in memory Learn references vs values Understand mutability Avoid hidden bugs The Illusion You write: x = 10 y = x You think: x and y both store 10 Wrong. What Actually Happens Memory: [10] ← object x ─────┐ ├──→ [10] y ─────┘ Variables do not store values. They store references to objects. ...

April 24, 2026 · 2 min · Nitin S Kulkarni

Day 1: Python Is Not Running Your Code (Execution Model Deep Dive)

You write Python. But Python is not executing your code the way you think. Today, you stop treating Python as magic. Today’s Goal By the end of today, you will: Understand how Python executes your code Learn what happens between .py to execution Build a mental model of the Python interpreter The Illusion You write: x = 10 y = x + 5 print(y) You assume: Python reads this line by line and runs it That assumption is wrong. ...

April 23, 2026 · 3 min · Nitin S Kulkarni