✕ Clear all filters
35 articles
▶ Videos →

📰 Medium · JavaScript

35 articles · Updated every 3 hours · View all reads

All Articles 138,014Blog Posts 141,846Tech Tutorials 35,830Research Papers 27,155News 19,378 ⚡ AI Lessons
DSA From Zero to Hero #2: Two Pointers Approach Explained with Example
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo 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 »
Learning DSA? Avoid the Mistake That Wasted My Years
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo 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
Array Patterns Every Developer Should Know: Two Pointers, Sliding Window, and Prefix Sum
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Array Patterns Every Developer Should Know: Two Pointers, Sliding Window, and Prefix Sum
Arrays are the first data structure most of us learn, yet they’re where some of the most elegant optimization techniques in computer… Continue reading on Medium
10 Tricky Time & Space Complexity Questions Every JavaScript Developer Should Know
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
10 Tricky Time & Space Complexity Questions Every JavaScript Developer Should Know
As JavaScript developers, we often focus on writing code that works. But in interviews and production systems, writing code that scales is… Continue reading on
Meta Hacker Cup 2021 — Final Round: Table Flipping
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Meta Hacker Cup 2021 — Final Round: Table Flipping
Difficulty: Hard Topic: Computational Geometry, Rectangle Intersection, Constraint Propagation  View original problem statement Continue reading on Javascript
Master LeetCode 118: Pascal’s Triangle (The Ultimate JavaScript Guide for All Coding Levels)
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Master LeetCode 118: Pascal’s Triangle (The Ultimate JavaScript Guide for All Coding Levels)
Discovering the hidden beauty of algorithms doesn’t require a math degree. Today, we are breaking down one of LeetCode’s most popular… Continue reading on Mediu
Meta Hacker Cup 2018 — Qualification Round: Interception
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Meta Hacker Cup 2018 — Qualification Round: Interception
Difficulty: Hard Topic: Polynomials, parenthesization, root-finding  View original problem statement Continue reading on Javascript by doing »
I gave up on LeetCode three times before something finally clicked
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
I gave up on LeetCode three times before something finally clicked
I’m going to be honest with you: my first three runs at learning data structures and algorithms were embarrassing. Continue reading on Medium »
Meta Hacker Cup 2016 — Qualification Round: High Security
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 1mo ago
Meta Hacker Cup 2016 — Qualification Round: High Security
Difficulty: Medium Topic: Greedy Algorithms & Interval Covering Round: Qualification Link… Continue reading on Javascript by doing »
Huffman Coding
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Huffman Coding
Huffman coding is a lossless compression technique that assigns shorter binary codes to frequently used characters and longer codes to… Continue reading on Medi
Algorithms for Frontend Developers: Where It Actually Hurts
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Algorithms for Frontend Developers: Where It Actually Hurts
Years ago I opened an internal talk on frontend algorithms with one line: Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Sliding Window Pattern (Part 12): Sliding Window Maximum (Deque — The Most Feared Window Problem)
What if finding the maximum in every window could be done in O(n) instead of O(n × k)? Continue reading on Medium »
prev, curr, next — The Three Pointers That Reverse a Linked List
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
prev, curr, next — The Three Pointers That Reverse a Linked List
Single linked list a famous problem is: reverse linked list. before moving to explanation of problem let’s understand the single link list… Continue reading on
Dummy Node Trick — The Clean Way to Merge Two Sorted Lists
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Dummy Node Trick — The Clean Way to Merge Two Sorted Lists
Today i went through the Leetcode Famous linked list problem was : 23. Merge k Sorted Lists. So when i started to solve this i was blank… Continue reading on Me
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Sliding Window Pattern (Part 10): Binary Subarrays With Sum (Same Trick, Different Disguise)
This problem looks completely different… but secretly uses the SAME “at most” trick. Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Sliding Window Pattern (Part 9): Exactly K Distinct (The Smartest Sliding Window Trick)
What if I told you the hardest sliding window problems are solved… indirectly? Continue reading on Medium »
Why Cycle Detection is the Secret to Sorting Permutations Optimally
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Why Cycle Detection is the Secret to Sorting Permutations Optimally
A permutation is an array containing each number from 1 to n exactly once, just arranged in a different order. Continue reading on Medium »
Meta Hacker Cup 2020 — Final Round: Tree Training
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Meta Hacker Cup 2020 — Final Round: Tree Training
Meta Hacker Cup 2020 · Final Round · Problem E Continue reading on Javascript by doing »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Sliding Window Pattern (Part 8): Minimum Window Substring (Full Control)
From “longest valid window” → to “smallest valid window” (complete mindset shift) Continue reading on Medium »
Medium · JavaScript ⚡ Algorithms & Data Structures ⚡ AI Lesson 2mo ago
Sliding Window Pattern (Part 6): From Set to Map (K Distinct Characters)
Set tells you if something exists. Map tells you how many times it exists. Continue reading on Medium »