Lecciones en video
¿Acabas de ver uno de nuestros shorts? Cada video de aquí tiene detrás la lección completa: la misma idea como una animación que recorres paso a paso, con un ejercicio y un quiz. Gratis y sin registro.
60 videos · los más nuevos primero

Destacado · Algorithm reels · · 0:27
Allow s3:* says yes. Deny beats allow.
IAM: Deny Beats Allow
01Guess the output ·
[1, 2, 10].sort() in JavaScript. What comes out?
Guess the Output: JavaScript Sort
Big-OEn TikTok e InstagramAbrir la lección
02Algorithm reels · 0:27
Allow s3:* says yes. Deny beats allow.
IAM: Deny Beats Allow
AWS para entrevistas03Race ·
Join 100,000 items, then find every root. Plain union-find: 4,999,950,000 pointer steps. Union by size + path compression: 199,996. Same components for every find, about 25,000 times less work.
Union-Find: Plain vs Union by Size + Path Compression, Race
Union-FindEn TikTok e InstagramAbrir la lección04How it works ·
A model never reads letters or words. So what does it read?
It Never Reads Words, So What Does It Read: How Tokenization Works
IA y MLEn TikTok e InstagramAbrir la lección05Explained out loud ·
A limit of 100 requests a minute. Send 100 in the last second of one minute and 100 in the first second of the next: a fixed window lets all 200 through. A token bucket lets 103.
Rate Limiting, Explained: Fixed Window vs Token Bucket at the Minute Boundary
Diseño de sistemasEn TikTok e InstagramAbrir la lección06Guess the output ·
Remove every item from a list while looping over it. What is left?
Guess the Output: Remove While Looping
Cheat sheetsEn TikTok e InstagramAbrir la lección07Four levels ·
Rotate 1,000,000 items right by 250,000: 250,000,000,000 moves, or 1,000,000?
Rotate an Array, Four Levels
ArraysEn TikTok e InstagramAbrir la lección
08Algorithm reels · 0:15
Which words does "bank" listen to?
Attention, Intuitively
IA y ML09How it works ·
Two people type in the same spot, at the same moment. Whose edit wins?
Two People Type in the Same Spot, Who Wins: How a Collaborative Editor Works
Casos de diseño de sistemasEn TikTok e InstagramAbrir la lección
10Algorithm reels · 0:21
Top 4 of 10? The root decides.
Top K Elements
Heaps11Race ·
The max of every window of 1,000 in 100,000 values. Rescanning each window: 98,901,999 value comparisons. A monotonic deque: 199,760. Same 99,001 maxima, about 495 times less work.
Sliding Window Maximum: Rescan vs Deque, Race
Pilas y colasEn TikTok e InstagramAbrir la lección12Four levels ·
10,000 votes, one name holds more than half: 100,010,000 loop steps to find it, or 10,000?
Majority Element, Four Levels
ArraysEn TikTok e InstagramAbrir la lección
13Algorithm reels · 0:18
Limit: 4 per second. One lets 8 through.
Rate Limiting: 4 Algorithms
Diseño de sistemas14Explained out loud ·
Bank can mean money or the side of a river. In "she sat by the river bank", attention gives river 79% of the weight, and bank means water. Swap in cash, and it means money.
Attention, Explained: How the Word Bank Picks Money or River
IA y MLEn TikTok e InstagramAbrir la lección15How it works ·
5 million jobs a day, and any worker can die mid-job. So why does the job still run?
Worker Dies Mid-Job, the Job Still Runs: How a Job Scheduler Works
Casos de diseño de sistemasEn TikTok e InstagramAbrir la lección
16Algorithm reels · 0:18
4 slots. A 5th key. Who gets evicted?
LRU Cache
Diseño de bajo nivel17Guess the output ·
(1) and (1,). Which one is a tuple?
Guess the Output: Tuple Comma
Cheat sheetsEn TikTok e InstagramAbrir la lección
18Algorithm reels · 0:19
14 pair checks? Try 6 lookups.
Two Sum
Tablas hash19Race ·
Load 10,000 jobs and all their parts. The N+1 loop: 10,001 statements sent. One JOIN: 1. Same 30,000 rows.
Database Queries: N+1 vs One Join, Race
SQLEn TikTok e InstagramAbrir la lección20How it works ·
Something big happens: 200,000 notifications a minute. How is none lost, and none sent twice?
200,000 a Minute, None Lost, None Twice: How a Notification System Works
Casos de diseño de sistemasEn TikTok e InstagramAbrir la lección
21Made in code · 0:19
Same maze. Same speed.
Two Ways Out
Grafos22Explained out loud ·
One server answers 800 requests a second and the peak brings 3,000. A bigger machine, or four small servers behind a load balancer? And why does scaling out log people out?
Vertical vs Horizontal Scaling, Explained: One Bigger Machine or Four Small Servers for 3,000 Requests a Second
Diseño de sistemasEn TikTok e InstagramAbrir la lección23Guess the output ·
return 1 in try, return 2 in finally. What does f() return?
Guess the Output: Return in Finally
Cheat sheetsEn TikTok e InstagramAbrir la lección
24Made in code · 0:19
Four rules. No player.
The Glider Gun
Matrices y cuadrículas25Four levels ·
Count every 1 bit in all the numbers 0 to 999,999: 19,951,425 loop steps, or 20?
Count the Set Bits, Four Levels
Manipulación de bitsEn TikTok e InstagramAbrir la lección
26Algorithm reels · 0:19
One hop: 9 ms. Two hops: 5 ms.
Dijkstra's Algorithm
Grafos27How it works ·
Cat and kitten: different words, nearly the same meaning. How does a machine know?
Two Different Words, Same Meaning: How Embeddings Work
IA y MLEn TikTok e InstagramAbrir la lección
28Algorithm reels · 0:16
Merge 6 intervals into 3 blocks.
Merge Intervals
Intervalos29Race ·
Find 1,000 letters in 1,000,000. Naive search: 999,001,000 character comparisons. KMP: 2,000,997, table included.
Pattern Search: Naive vs KMP, Race
StringsEn TikTok e InstagramAbrir la lección30Four levels ·
60 stairs, 1 or 2 steps at a time: how many ways? 5,009,461,563,921 calls, or 7?
Climbing Stairs, Four Levels
Programación dinámicaEn TikTok e InstagramAbrir la lección
31Algorithm reels · 0:19
One tree, 4 orders. Which one is sorted?
Tree Traversals
Árboles y BST32Explained out loud ·
1,000 requests in one minute. The dashboard shows the average: 177 ms, looks healthy. But 20 of them took more than 2 seconds, and the 99th percentile is 3,082 ms.
Average Latency vs the 99th Percentile, Explained: 177 ms on the Dashboard, 20 Requests Over 2 Seconds
Diseño de sistemasEn TikTok e InstagramAbrir la lección33How it works ·
Why does a chatbot forget the start of a long chat?
Why Does a Chatbot Forget the Start of a Chat? Context Windows
IA y MLEn TikTok e InstagramAbrir la lección
34Algorithm reels · 0:21
Pop until smaller. Nobody waits twice.
Monotonic Stack
Pilas y colas35Guess the output ·
One generator, read twice. What does the second read print?
Guess the Output: Generator Twice
Cheat sheetsEn TikTok e InstagramAbrir la lección
36Algorithm reels · 0:17
45 subarrays? Kadane reads just 9.
Kadane's Algorithm
Arrays37Race ·
A queue of 100,000. Serve them all, front first. list.pop(0): 5,000,050,000 steps. deque.popleft(): 100,000.
Queue: List vs Deque, Race
Pilas y colasEn TikTok e InstagramAbrir la lección
38How it works · 0:42
The model never saw your documents. How does it answer from them?
It Never Saw Your Docs: How RAG Answers
IA y ML
39Made in code · 0:18
Stop reading.
BytePatterns Launch Film
Ordenamiento40Explained out loud ·
Two servers share one count: 10 seats left. The link between them breaks, and 13 buyers arrive. Refuse every sale, or sell 13 tickets for 10 seats.
Consistency or Availability, Explained: 13 Buyers, 10 Seats and a Broken Link
Diseño de sistemasEn TikTok e InstagramAbrir la lección41Guess the output ·
result = nums.sort(). What is in result?
Guess the Output: Sort Returns None
Cheat sheetsEn TikTok e InstagramAbrir la lección42Four levels ·
Longest stretch with no repeated letter in 10,000 letters: 166,716,670,000 set inserts, or 22,389 dictionary operations?
Longest Substring Without Repeats, Four Levels
StringsEn TikTok e InstagramAbrir la lección
43Algorithm reels · 0:21
One negative edge. Dijkstra locks early.
Bellman-Ford
Grafos
44How it works · 0:42
Fifty million places. Which twenty are nearest to you?
50 Million Places, Which 20 Are Near You
Casos de diseño de sistemas
45Algorithm reels · 0:24
Every dead end sends you back up.
N-Queens
Backtracking46Race ·
3 to the power 1,000,000, mod 1,000,000,007. Loop: 1,000,000 multiplications. Fast power: 27.
Power: Loop vs Fast Exponentiation, Race
Matemáticas y teoría de númerosEn TikTok e InstagramAbrir la lección47Four levels ·
Are two 100,000-letter strings anagrams? 20,000,100,001 comparisons, or 200,026 counter operations?
Anagram Check, Four Levels
Tablas hashEn TikTok e InstagramAbrir la lección
48Algorithm reels · 0:20
3 ways to prove a cycle exists.
Detect a Cycle
Listas enlazadas
49Explained out loud · 0:59
One layer of a big model holds 16,777,216 weights. Low-rank adaptation (LoRA) leaves them frozen and trains 65,536: 256 times fewer.
LoRA, Explained: Train Two Thin Strips, Not 16,777,216 Weights
IA y ML
50How it works · 0:41
Ten million players. Scores change thousands of times a second.
10 Million Players, the Top 100 for Free
Casos de diseño de sistemas
51Algorithm reels · 0:23
Guess four tokens. Check them in one pass.
Speculative Decoding
IA y ML52Guess the output ·
0.1 + 0.2 == 0.3. True or False?
Guess the Output: Float Sum
Cheat sheetsEn TikTok e InstagramAbrir la lección
53Algorithm reels · 0:21
One bigger value retires the rest.
Sliding Window Maximum
Pilas y colas54Race ·
1,000 range sums over 1,000,000 numbers. Loop: 333,600,555 additions. Prefix sums: 1,001,000 adds + subtracts.
Range Sums: Loop vs Prefix Sums, Race
ArraysEn TikTok e InstagramAbrir la lección
55How it works · 0:40
You change one paragraph in a 10 GB file. What has to upload?
A 10 GB File Changed, Only 4 MB Moved
Casos de diseño de sistemas
56Explained out loud · 1:00
Two pages match a search for cheap flights. The dot product picks the long hotel guide, 6 to 2. Cosine similarity picks the short note, 0.89 to 0.45.
Cosine Similarity vs the Dot Product: Why the Long Page Lost
IA y ML
57Guess the output · 0:22
True, 1 and 1.0 as keys in one dictionary. What does it print?
Guess the Output: Dict Keys
Cheat sheets
58Four levels · 0:35
One number is missing from 1 to 1,000,000: 177,257,227,999 comparisons, or 1,000,003 operations?
Find the Missing Number, Four Levels
Manipulación de bits
59Algorithm reels · 0:19
One machine dies. How many keys move?
Consistent Hashing
Casos de diseño de sistemas
60How it works · 0:41
A short link is seven characters. How can that be enough?
Seven Characters, 3.5 Trillion Links
Casos de diseño de sistemas