A collection of popular machine coding questions in python and golang for easy reference and interview preparations
| Track | Unique Questions Target | Why This Number Works | Your Current Priority |
|---|---|---|---|
| DSA | 60 – 80 (~5–7 per core pattern) | Covers all ~12 core patterns (Binary Search on Answer, Heaps/Greedy, Graphs/Topo/DSU, Sliding Window, Monotonic Stack, Trees, Intervals, DP) without diminishing returns. | Medium (3.2/5.0 — focus on 1-pass dry runs before submitting). |
| HLD | 10 – 15 | Almost all HLD prompts map to ~8 archetypes (Chat/WebSockets, Feed Fan-out, Scheduler/Rate Limiter, Typeahead/Search, Geo-Search, KV Store, Streaming/Video, Metrics). | Maintain (3.8/5.0 on recent re-test — do 1–2 per week). |
| LLD / Machine Coding | 8 – 12 | Repeats the same 5 patterns (Strategy, State, Observer, Factory, Facade) + threading.Lock concurrency (Parking Lot, Ride-Sharing, BookMyShow, Elevator, Splitwise, Cache). |
High (2.4/5.0 — finish end-to-end state machines + Locks). |
| Concurrency | 6 – 8 | Bounded Queue, Barrier, Read-Write Lock, Print in Order, FizzBuzz, Concurrent Crawler—all built on Condition or Lock + Semaphore(0). |
Highest (2.0/5.0 — drill the 2 core patterns until automatic). |