Tags → #week2
-
Week 2 Day 5: Mini Project - Static Site with Load Balancing
Simulating a production environment with Docker and Nginx.
-
Week 2 Day 4: CDNs - The Global Cache
Content Delivery Networks. Storing your content closer to your users.
-
Week 2 Day 3: Reverse Proxies - Protecting the Backend
Nginx, HAProxy, and why you should never expose your application server directly to the internet.
-
Week 2 Day 2: Load Balancers - The Traffic Cops
Distributing traffic efficiently. Algorithms like Round Robin, Least Connections, and IP Hashing.
-
Week 2 Day 1: Vertical vs Horizontal Scaling - Growing Up vs Out
The two main strategies to handle more traffic. When to upgrade a server vs adding more servers.
-
Week 2 Day 5: Matrix Exponentiation - Breaking the Speed Limit
How to solve linear recurrences like Fibonacci in O(log n) time instead of O(n). A powerful technique for advanced DP problems.
-
Week 2 Day 4: Fermat & Euler - The Giants of Number Theory
Understanding Fermat’s Little Theorem and its big brother, Euler’s Totient Theorem. Key concepts for encryption.
-
Week 2 Day 3: The Modular Inverse - How to Divide
Division doesn’t exist in modular arithmetic. Instead, we multiply by the inverse. Learn Fermat’s Little Theorem and the Extended Euclidean Algorithm.
-
Week 2 Day 2: The Rules of Modular Arithmetic
Addition, Subtraction, Multiplication, and Division in the modular world. Why (a/b) % m is NOT (a%m / b%m).
-
Week 2 Day 1: Fast Modular Exponentiation - The Secret Weapon
How to calculate huge powers modulo m in logarithmic time. The backbone of modern cryptography.