✕ Clear all filters
86 articles
▶ Videos →

📰 Medium · JavaScript

86 articles · Updated every 3 hours · View all reads

All Articles 190,245Blog Posts 172,115Tech Tutorials 51,030Research Papers 36,793News 23,196 ⚡ AI Lessons
9 Advanced Array Method Shortcuts I Stole From Senior Full-Stack Engineers
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
9 Advanced Array Method Shortcuts I Stole From Senior Full-Stack Engineers
The low-level transformations, non-mutating pipelines, single-pass aggregations, and performance-tuned patterns that eliminate nested… Continue reading on Skill
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Google Interview Question #2
You are given maximum initial energy k (k<1000) and an array A of length n denoting wind speed on n days. He is stuck on a boat, and each… Continue reading on M
Medium · JavaScript ⚡ Algorithms & Data Structures 1mo ago
DP Patterns Unlocked — Optimal Binary Search Tree: Interval DP With a Root Choice
How choosing the right root turns Optimal Binary Search Tree into another Interval DP problem Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Palindrome Partitioning II: Interval DP With a Palindrome Constraint
How adding one condition to interval splitting transforms a familiar DP pattern into Palindrome Partitioning Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Matrix Chain Multiplication: Interval DP Hiding in Plain Sight
How choosing the right multiplication order transforms Matrix Chain Multiplication into a classic Interval DP problem Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
DP Patterns Unlocked — Integer Break (LeetCode 343): Unbounded DP Without the Knapsack
How breaking one number into smaller parts turns into a maximum-product Dynamic Programming problem Continue reading on Medium »
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 2mo 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 2mo 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 »