✕ Clear all filters
57 articles
▶ Videos →

📰 Medium · Programming

57 articles · Updated every 3 hours · View all reads

All Articles 135,341Blog Posts 139,957Tech Tutorials 35,121Research Papers 26,163News 19,060 ⚡ AI Lessons
The Run-Length Encoding Trick: How Simple Strings Get Compressed
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 2w ago
The Run-Length Encoding Trick: How Simple Strings Get Compressed
Have you ever wondered how your computer shrinks massive files down so they don’t absolutely wreck your hard drive? Continue reading on Medium »
I implemented the algorithm that broke the sorting barrier. Dijkstra still wins.
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 2w ago
I implemented the algorithm that broke the sorting barrier. Dijkstra still wins.
In 2025 a paper proved you can compute shortest paths asymptotically faster than Dijkstra. I built a verified implementation on a 2012… Continue reading on Medi
Practice Algorithms and DS the Structured Way
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 2w ago
Practice Algorithms and DS the Structured Way
Most algorithm practice is a pile of random problems. You get reps, but you never build a mental map of the techniques. So I built… Continue reading on AnotherA
Sieve of Eratosthenes Algorithm
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 2w ago
Sieve of Eratosthenes Algorithm
Finding the prime numbers between the 2 to n as given input(n) value. We know the usual solution for finding an number is prime or not in… Continue reading on M
Advanced Stack ApplicationsData Structures and Algorithms Deep‑Dive — Advanced Stack Applications…
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 3w ago
Advanced Stack ApplicationsData Structures and Algorithms Deep‑Dive — Advanced Stack Applications…
Chapter 2 — Basic Data Structures Continue reading on Medium »
DSA From Zero to Hero #3: Sliding Window (Fixed Size) Explained With a Java Example
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 3w ago
DSA From Zero to Hero #3: Sliding Window (Fixed Size) Explained With a Java Example
I used to solve every “subarray of size k” question with two nested loops. It worked. It also would have gotten me rejected in any real… Continue reading on ILL
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 3w ago
Two Pointers & Sliding Window: Turn O(n²) Into O(n)
Part 3 of the “Algorithms You Actually Use” series. A whole class of “check every pair / every subarray” problems looks like it needs… Continue reading on Mediu
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 4w ago
Hash Maps: The Data Structure You’ll Use Most
Part 1 of the “Algorithms You Actually Use” series. If you learn exactly one data structure deeply, make it this one. It turns slow code… Continue reading on Me
Pseudocode: Cara Terbaik Merancang Algoritma Sebelum Menulis Kode Sungguhan
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Pseudocode: Cara Terbaik Merancang Algoritma Sebelum Menulis Kode Sungguhan
Di artikel sebelumnya kita sudah memahami apa itu algoritma dan bagaimana cara menyusunnya. Kali ini kita akan membahas cara menuliskan… Continue reading on Med
Google Onsite Interview Question #1: Distance to the Nearest 1 in a Binary Matrix
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Google Onsite Interview Question #1: Distance to the Nearest 1 in a Binary Matrix
Not a Medium member? Use the free link below. Continue reading on Medium »
15 DSA Patterns That Cover 80% of Medium-Level Coding Interviews
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
15 DSA Patterns That Cover 80% of Medium-Level Coding Interviews
Stop solving random problems. Start recognizing patterns instead. Continue reading on Data Science Collective »
Prefix Sums: The Preprocessing Trick That Makes Range Queries Instant
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Prefix Sums: The Preprocessing Trick That Makes Range Queries Instant
If you’ve ever looped through an array to calculate a sum, only to do it again for a slightly different range - this is for you. Continue reading on Medium »
I Thought I Was Ready for the Interview — Then One Simple Math Question Destroyed Me
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
I Thought I Was Ready for the Interview — Then One Simple Math Question Destroyed Me
Most Developers Study Algorithms for Months. The Interview Question That Rejects Them Takes Only 10 Seconds. Continue reading on Javarevisited »
16. NeetCode 150 — Longest Substring Without Repeating Characters
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
16. NeetCode 150 — Longest Substring Without Repeating Characters
Difficulty: Medium | Pattern: Sliding Window Continue reading on Medium »
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
The Graph Traversal Recipe That Simplified Every Graph Problem I Solved
By Sai Pranav Moluguri Continue reading on Medium »
Week 16 — Finished the DP Homework I Gave Myself
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Week 16 — Finished the DP Homework I Gave Myself
Last week I ended the blog by giving you three problems to try. House Robber, Min Cost Climbing Stairs and Tribonacci. Continue reading on Medium »
Sliding Window: Stop Recalculating What You Already Know
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Sliding Window: Stop Recalculating What You Already Know
If you’ve written a nested loop to check every subarray and wondered “there must be a better way” - there is. This is for you. Continue reading on Medium »
Two Pointers: The Pattern That Turns O(n²) into O(n) Magic
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Two Pointers: The Pattern That Turns O(n²) into O(n) Magic
If you’ve ever stared at an array problem and instinctively written two nested loops - this is for you. Continue reading on Medium »
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
The 10 Array Patterns That Power Most LeetCode Questions.
“I have solved hundreds of array problems, but every new problem still looks different.” Continue reading on Medium »
Medium · Programming ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
How I Solved the Second Largest Problem on CodeChef
When I first looked at the “Second Largest” problem on CodeChef, it seemed straightforward. My initial thought was to sort the array and… Continue reading on Me