Hudson River Trading low-level design interview
You design and build a small working system in code: classes, interfaces, data structures and how they change when a new requirement arrives. In India, the 90-minute machine coding round (Flipkart, PhonePe, Swiggy, Razorpay) is often the first filter for SDE 2.
Hudson River Trading has no separate low-level design round at any level. Candidates report these object-oriented design problems inside coding rounds, so practise them as coding problems: a clean class model, then working code.
| Progress | Problem as candidates report it | Next step |
|---|---|---|
| Indexable deque with O(1) access at both ends and by index (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Insert, delete and get-random with weighted sampling (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Wrap a fixed-chunk stream reader to support reads of any length (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Fixed-size memory allocator with correct alignment (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Add an order modification feature to an existing order-handling codebase (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Add open and close stock order methods to a provided Python class (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Buffer parsers and a generic map class (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Reversi game that replays moves and returns piece counts (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Wordle-style word guessing solver (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon |
How Hudson River Trading runs it
- Build five classic systems end to end under a 90-minute timer: parking lot, splitwise, snake and ladder, rate limiter, in-memory key-value store.
- Separate models, services and storage; keep the main method thin.
- Learn when to use strategy, factory and observer patterns, and when not to.
- Handle invalid input explicitly: graders check validation.
The low-level design round, scored by level · New to LLD? Start with OOP, SOLID and the design patterns, then the machine coding problems.
Questions people ask
Does Hudson River Trading have a low-level design or machine coding round?
Not as a fixed round, but candidates report object-oriented design questions: Indexable deque with O(1) access at both ends and by index (LLD); Insert, delete and get-random with weighted sampling (LLD); Wrap a fixed-chunk stream reader to support reads of any length (LLD); Fixed-size memory allocator with correct alignment (LLD); Add an order modification feature to an existing order-handling codebase (machine coding); Add open and close stock order methods to a provided Python class (machine coding); Buffer parsers and a generic map class (machine coding); Reversi game that replays moves and returns piece counts (machine coding); Wordle-style word guessing solver (machine coding).