✕ Clear all filters
80 articles
▶ Videos →

📰 Medium · JavaScript

80 articles · Updated every 3 hours · View all reads

All Articles 174,844Blog Posts 163,939Tech Tutorials 46,570Research Papers 34,149News 22,066 ⚡ AI Lessons
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Coin Change I (LeetCode 322): Unbounded Knapsack Learns to Minimize
How replacing max() with min() transforms the Unbounded Knapsack Dynamic Programming pattern Continue reading on Medium »
Stop Memorizing Array Questions. Learn the Patterns Instead
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Stop Memorizing Array Questions. Learn the Patterns Instead
If you’re preparing for coding interviews, you’ve probably solved dozens of array problems already. Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Rod Cutting: Unbounded Knapsack in Disguise
How cutting a rod into pieces secretly becomes the Unbounded Knapsack Dynamic Programming pattern Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Unbounded Knapsack: One Rule Changes Everything
How allowing repeated choices transforms the classic 0–1 Knapsack Dynamic Programming pattern Continue reading on Medium »
Meta Hacker Cup 2016 — Round 1: Laundro, Matt
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Meta Hacker Cup 2016 — Round 1: Laundro, Matt
Difficulty: Medium Topic: Binary Search + Greedy Algorithm Problem Link: Meta Hacker Cup 2016 Round 1 — Problem B Continue reading on Javascript by doing »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Sorting Without Losing Track: How to Return Original Indices in JavaScript
While practicing sorting algorithms, I ran into a deceptively simple question that taught me more than I expected: Continue reading on Medium »
Understanding JavaScript Call Stack, Callback Queue & Microtask Queue (The Complete Beginner’s…
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Understanding JavaScript Call Stack, Callback Queue & Microtask Queue (The Complete Beginner’s…
Have You Ever Wondered Why Promise.then() Runs Before setTimeout()? Continue reading on Medium »
Stacks and Queues in JavaScript: Solving DSA Problems Step by Step
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Stacks and Queues in JavaScript: Solving DSA Problems Step by Step
Stacks and queues are two of the simplest data structures that you’ll often run into them when solving DSA problems. A stack works like a… Continue reading on C
A Monotonic Stack Isn’t Built to Store Elements. It’s Built to Eliminate Them
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
A Monotonic Stack Isn’t Built to Store Elements. It’s Built to Eliminate Them
Most stack problems look like they’re about pushing values. Continue reading on Medium »
I Thought I Could Never Crack Google — Until I Realised This
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
I Thought I Could Never Crack Google — Until I Realised This
Yesterday, I was solving a coding problem. Continue reading on Dev Simplified »
Meta Hacker Cup 2016 — Round 2: Boomerang Decoration
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Meta Hacker Cup 2016 — Round 2: Boomerang Decoration
Difficulty: Medium Topic: String Manipulation, Greedy Matching Problem Link… Continue reading on Javascript by doing »
Sieve of Eratosthenes Algorithm
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo 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
Meta Hacker Cup 2018 — Round 2: Jack’s Candy Shop
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Meta Hacker Cup 2018 — Round 2: Jack’s Candy Shop
Difficulty: Medium Topic: Tree Data Structures & Subtree Queries  View original problem statement Continue reading on Javascript by doing »
Prefix Sum: The Pattern Behind Most Subarray Problems
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Prefix Sum: The Pattern Behind Most Subarray Problems
Learn the intuition behind Prefix Sum, recognize it in interviews, and solve most subarray sum problems with confidence. Continue reading on Medium »
Two Pointers: The Pattern Behind Countless Coding Interview Problems
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Two Pointers: The Pattern Behind Countless Coding Interview Problems
If you’ve solved a few LeetCode problems, chances are you’ve already used the Two Pointers pattern — even if you didn’t know its name. Continue reading on Mediu
Another Binary Search Problem That Looked Easy… Until the Last Condition
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Another Binary Search Problem That Looked Easy… Until the Last Condition
I recently solved Find Smallest Letter Greater Than Target, and this problem reminded me that sometimes one line in the problem statement… Continue reading on M
DSA From Zero to Hero #2: Two Pointers Approach Explained with Example
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
DSA From Zero to Hero #2: Two Pointers Approach Explained with Example
The approach that cuts your time complexity in half — and most developers have never heard of it. Continue reading on Medium »
DSA From Zero to Hero #2: Two Pointers Approach Explained with Example
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
DSA From Zero to Hero #2: Two Pointers Approach Explained with Example
The approach that cuts your time complexity in half — and most developers have never heard of it. Continue reading on Stackademic »
The JavaScript Event Loop Finally Explained (Without Breaking Your Brain)
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
The JavaScript Event Loop Finally Explained (Without Breaking Your Brain)
A beginner’s guide to the Call Stack, Callback Queue, and Microtask Queue — with zero hand-waving. Continue reading on Medium »
Learning DSA? Avoid the Mistake That Wasted My Years
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Learning DSA? Avoid the Mistake That Wasted My Years
Why DSA feels impossible, why most beginners practice it wrongly, and how to build interview-ready problem-solving skills without blindly… Continue reading on D