The circular_buffer trap: how a 'faster' data structure spiked my CPU from 2% to 25%
There's a special kind of bug that only shows up after you've made your code "better." You swap in the data structure everyone agrees is more efficien…
Latest Testing & QA news from Tech News
There's a special kind of bug that only shows up after you've made your code "better." You swap in the data structure everyone agrees is more efficien…
The Quest Begins (The "Why") I still remember the first time I stared at a LeetCode problem that asked me to count the number of islands in a grid. My…
JavaScript ships with Array , Set , and Map — but nothing that keeps its elements sorted as you insert. If you've ever built a leaderboard, an order b…
Week 7 was hash maps and two pointers — patterns that lean on Python's built-in dict , set , and list . Week 8 was different. This week I built the da…
The Quest Begins (The "Why") Honestly, I still remember the first time I stared at the Daily Temperatures problem on LeetCode and felt like I was tryi…
The Quest Begins (The “Why”) I still remember the first time I faced a “minimum size subarray sum” question in an interview. The problem stared back a…
Over the past couple of years, I've spent a lot of time preparing for software engineering interviews. Like many developers, I started my Data Structu…
Segment Trees: The “Divide‑and‑Conquer” Trick That Actually Makes Sense Quick context (why you're writing this) I remember the first time I saw a segm…
Duplicate detection looks solved: keep a hash set, skip what you have already seen. A benchmark suite of 4050 measurements across 480 workloads says t…
Arrays and Hashing are among the most important topics in Data Structures & Algorithms (DSA) and are frequently asked in coding interviews at comp…
tar+zstd is very hard to beat. So I stopped trying to beat it as a byte compressor. Instead, I tried something else: compress the structure first, the…