0 day streak

Datadog low-level design interview

Enterprise SaaS Global AI-assisted coding

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.

0%ready

Datadog has no separate low-level design round at any level. Candidates report these object-oriented design problems inside coding rounds and, at senior levels, the design round, so practise them as coding problems: a clean class model, then working code.

ProgressProblem as candidates report itNext step
Buffered file writer with flushing and locking (LLD)Being added: class diagram, Java code and follow-ups Coming soon
Match log lines against a list of queries (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Total file size from a text description of a directory tree (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Return sibling tags for a tag in a stream of tagged events (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Divide an array into buckets (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Sliding window sum over a stream (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Build span trees from unordered trace spans (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Delete a directory tree using a limited filesystem API (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Prefix match filter over tagged data (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
In-memory log storage with querying (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Count latencies into fixed-width histogram buckets (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Sum one tag's values over an inclusive time range (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Inverted index over parsed log lines (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
Real-time HTTP access-log monitoring daemon with alerts (machine coding)Being added: class diagram, Java code and follow-ups Coming soon

How Datadog 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 Datadog have a low-level design or machine coding round?

Not as a fixed round, but candidates report object-oriented design questions: Buffered file writer with flushing and locking (LLD); Match log lines against a list of queries (machine coding); Total file size from a text description of a directory tree (machine coding); Return sibling tags for a tag in a stream of tagged events (machine coding); Divide an array into buckets (machine coding); Sliding window sum over a stream (machine coding); Build span trees from unordered trace spans (machine coding); Delete a directory tree using a limited filesystem API (machine coding); Prefix match filter over tagged data (machine coding); In-memory log storage with querying (machine coding); Count latencies into fixed-width histogram buckets (machine coding); Sum one tag's values over an inclusive time range (machine coding); Inverted index over parsed log lines (machine coding); Real-time HTTP access-log monitoring daemon with alerts (machine coding).