
5 Data Structure Mistakes Freshers Make in Production Code (and How to Fix Them)
The data structure mistakes freshers make most often in production code are: using arrays for every...
Tag archive

The data structure mistakes freshers make most often in production code are: using arrays for every...

How I stored 25 districts, two mediums and three years of exam cut-offs, kept null from turning into zero, and computed the key facts instead of typing them.
The bug You're asked to implement an LRU cache for decoded bitmap thumbnails in a coding...

As a student I'm told to study data structures and algorithms for interviews. That's true, but it...

Big O is just one of three notations — here's how they all fit together. Why Three...

Python data structures explained simply: lists, tuples, sets and dictionaries compared side by side, with code examples and a simple rule for choosing each one.

Stop guessing whether your code is fast — learn to measure it properly. The Problem with...

How I store Sri Lanka's university Z-score cut-offs as positional arrays with null for NQC, and the small queries that stay honest about missing cells.
How a set takes you from n² to n, the three keys behind most array tasks, the bug of inserting ahead of the lookup, and when to skip hashing altogethe
Imagine looking for a name in a directory containing one million entries, but instead of searching...
In Python, if you have a dictionary with a million things in it, my_dict["apple"] still comes back...

Python list vs tuple vs set vs dictionary explained with tested code: ordering, mutability, duplicates, speed and memory, plus when to use each one.