Search
Lessons (10)
- Hash Maps & Sets
… A hash map is that catalogue. A hash function turns a key (like "apple" ) into a number (a …
- DSA Interview Patterns Cheat Sheet
… 4. Optimise: "The bottleneck is the inner search… a hash map makes that O(1)." Name the pattern …
- Topics, Partitions & Offsets
… order-42"] -- "hash → 1" P1[Partition 1] K2["key: order-77"] -- "hash → 0" P0[Partition 0] K3["key …
- Big-O Notation Made Simple
… O(1) Constant 1 Array index arr[5] , hash map lookup O(log n) Logarithmic ~10 Binary search …
- Replication, Partitioning & Sharding
… tenant id is often safer than an arbitrary hash when tenancy is a hard isolation boundary. Avoid hot …
- Two Pointers & Sliding Window
… br/ of seen values?"} C -- Yes HM["🗂️ Hash map"] C -- No D["Consider sorting first,<br/ then …
- Frontend Performance & Core Web Vitals
… false, loading: () = <MapSkeleton / }); Next.js already splits every route automatically. Check what's in your bundles with @next …
- Linked Lists
… on repeat (circular), LRU caches (doubly linked list + hash map), undo stacks, OS task scheduling. Technique 1: Traverse …
- SQL vs NoSQL Databases
… profiles, CMS content MongoDB Key-value A giant hash map Caching, sessions, counters Redis, DynamoDB Wide-column Rows …
- REST API Design
… 42 GET /users/42/orders The standard CRUD map Action Method + path Success status --- --- --- List GET /articles 200 …