Tags → #week3
-
Week 3 Day 5: Mini Project - Caching Layer with Redis
Speeding up a slow API using caching. Measuring the difference.
-
Week 3 Day 4: Database Partitioning (Sharding) - Breaking it Up
Handling massive datasets by splitting them across servers. Horizontal Scaling for DBs.
-
Week 3 Day 3: Database Replication - Master & Slaves
How to scale reads and ensure backup. Master-Slave vs Multi-Master.
-
Week 3 Day 2: The CAP Theorem - You Can’t Have It All
Consistency, Availability, Partition Tolerance. Pick two.
-
Week 3 Day 1: Relational vs NoSQL - Choosing the Right Database
SQL vs NoSQL. When to use Postgres vs MongoDB vs Redis vs Cassandra.
-
Week 3 Day 5: Classic Counting - Stars, Bars, and Catalan
How to distribute candies among children? How many valid parenthesis sequences? Two powerful formulas you must know.
-
Week 3 Day 4: Inclusion-Exclusion Principle - Avoiding Double Counting
How to calculate the size of the union of multiple sets. A fundamental tool for solving complex counting problems.
-
Week 3 Day 3: Lucas Theorem - The Giant Slayer
How to compute nCr % p when n is huge (like 10^18) but p is small.
-
Week 3 Day 2: Pascal’s Triangle - DP for Counting
nCr without factorials? Pascal’s Triangle is the dynamic programming approach to finding combinations.
-
Week 3 Day 1: Basics of Combinatorics - Counting is Hard
How many ways can you arrange 5 books? How many ways to choose 3 toppings from 10? The art of counting without counting.