1p3a Question · Oct 2025

Datadog Fulltime Software Engineer Onsite Interview Experience

SWE Onsite Hard
5 replies

Question Details

There are four rounds in total. Because I also have to work, it's scheduled for two consecutive days. The following content requires a score higher than 188. You can already view it. 1. Coding Reverse

Full Details

There are four rounds in total. Because I also have to work, it's scheduled for two consecutive days. The following content requires a score higher than 188. You can already view it. 1. Coding Reverse Index Problem Description: Given a set of strings, each string may begin with "L: " (representing Log) or "Q: " (representing Query) If it's a Query (e.g., "Q: hello world" ), it means a query is registered. You need to assign a unique qid for each different Query. If it's a Log (e.g., "L: hi hello world" ), you need to determine if this log contains all the words (in any order) of a registered query. If a match is found, output the corresponding qid. Write a function to process this set of strings and implement the above logic. Coding Create file with buffer Each time data is written to this file, use the Write method like write("hello world"). If there is enough space in the memory buffer (buffer_size), write the data to the buffer first. Data is only written to disk when the buffer is full (by calling the flush method). Implementing write and flush should ideally be thread-safe (I didn't have one, but it was approved anyway). SD: Design a ticket discount notification system. Behavioral Questions + Project DeepDive. Standard workflow, no different from other companies. Overall, the experience was good, and the questions weren't too difficult. Please give me some points!

Free preview. Unlock all questions →

Topics

Strings Sql Os