All
Articles 174,844Blog Posts 163,939Tech Tutorials 46,570Research Papers 34,149News 22,066
⚡ AI Lessons
Medium · JavaScript
⚡ Algorithms & Data Structures
⚡ AI Lesson
4w 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
⚡ 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 »

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 »

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 »

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 »

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

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 »

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 »

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 »
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

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 »

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 »

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

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

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 »

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 »

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 »

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
DeepCamp AI