Skip to content
Jarviix

60-day SSE plan · Day 7 of 60

Tic Tac Toe • Distributed Cache (Redis-like) • Union-Find • Tech: SQL Queries Practice

Day7

60-day SSE plan

Tic Tac Toe • Distributed Cache (Redis-like) • Union-Find • Tech: SQL Queries Practice

Algorithm

DSA

Easy–Medium

Union-Find — Redundant Connection (LC 684)

Find the extra edge that creates a cycle in an undirected graph.

Example

Input: edges forming a cycle → Output: the extra edge

Where it shows up

Cycle detection, connectivity in networks, Kruskal pre-checks.

Low-level design

LLD

Tic Tac Toe

Requirements

  • Design 3x3 game; win/draw detection; replay.

Expectations

  • Classes for Board, Player, Game; strategy for winner check.
  • Unit tests for edge cases.

Where it shows up

Turn-based game engines, board game modeling.

References

High-level design

HLD

Distributed Cache (Redis-like)

Requirements

  • SET/GET/DEL, TTL; sharding; replication; eviction policies.

Expectations

  • Consistent hashing, leader election, cache-aside/write-through.
  • Failure handling & split-brain prevention.

Where it shows up

Backend acceleration, DB offload, low latency reads.

References

Today's deep-dive

Tech

SQL Queries Practice

Practice joins, window functions, indexing & EXPLAIN on sample schema; optimize a slow query.

Where it shows up

API development for SaaS products, public web services, and internal microservices requiring robust, scalable, and maintainable interfaces.