MKMohit Kumarinimohit1o1.hashnode.dev·4h ago · 3 min readMutable vs Immutable Objects in Python: Explained with Memory ReferencesIntroduction If you're new to Python, you've probably seen code like this: numbers1 = [1, 2, 3] numbers2 = numbers1 numbers1[0] = 100 print(numbers1) print(numbers2) Output [100, 2, 3] [100, 2, 3] 00
MKMohit Kumarinimohit1o1.hashnode.dev·9h ago · 5 min readHow Python Executes Code: From .py to Running ProgramWhen we write Python code, the CPU does not execute the .py file directly. Instead, Python goes through a few internal steps before the program actually runs. Step 1: You Write Python Source Code Exam00
MKMohit Kumarinimohit1o1.hashnode.dev·May 31 · 6 min readHow WhatsApp Works Without Internet: Offline Messaging and Sync Explained"Message bheja. Internet tha nahi. Phir bhi sent dikh gaya. Kaise?" You type a message. Hit send. Airplane mode is on. The message appears in the chat. "Sent" shows up. But there's no internet. Magic00
MKMohit Kumarinimohit1o1.hashnode.dev·May 31 · 6 min readHow Instagram Stores Reels, Photos, and Drafts Behind the ScenesYou record a Reel. Add a filter. Save it as draft. Close the app. Open it tomorrow. Draft is still there. Magic? No. Smart engineering. Let me explain what happens behind the screen. The Journey of a00
MKMohit Kumarinimohit1o1.hashnode.dev·May 10 · 6 min readString Polyfills and Common Interview Methods"Understanding a method is one thing. Implementing it is another." You know "hello".toUpperCase() gives "HELLO". You know trim() removes spaces. But do you know how? Interviews ask: "Write your own v00