Skip to content
Jarviix

60-day SSE plan · Day 55 of 60

Elevator System • Payment Gateway • Heap / Priority Queue • Tech: SQL Queries Practice

Day55

60-day SSE plan

Elevator System • Payment Gateway • Heap / Priority Queue • Tech: SQL Queries Practice

Algorithm

DSA

Hard

Heap / Priority Queue — Merge k Sorted Lists (LC 23)

Merge k sorted linked lists using a min-heap.

Example

Input: lists = [[1,4,5],[1,3,4],[2,6]] → Output: [1,1,2,3,4,4,5,6]

Where it shows up

Log mergers, multi-way merge in external sorting, streaming.

Low-level design

LLD

Elevator System

Requirements

  • Multiple elevators; up/down requests; scheduling.

Expectations

  • UML for Elevator, Request, Controller; strategy for scheduling.
  • Simulate requests & movement.

Where it shows up

High-rise building operations, dispatch systems.

High-level design

HLD

Payment Gateway

Requirements

  • Payment intents, confirm/capture, refunds; idempotency; webhooks.

Expectations

  • PSP adapters, circuit breakers, retries with backoff.
  • Audit logs; PCI isolation considerations.

Where it shows up

Fintech, marketplaces, subscriptions.

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