Datadog SWE 面经 — OA代做 VO代写 SWE代面 CS代面

 

Datadog Software Engineer Interview Experience

System Design: Design Mint.com

  • Description: Design a financial management website similar to Mint.com, which includes features such as user account management, transaction tracking, budget setting, and financial reporting. Considerations should be made for how to handle the collection and processing of user bank, credit card, and investment information, while ensuring data security and privacy.

Coding Problem 1: Logs and Queries Match

  • Description: Design a query search object that can handle two types of string inputs. Strings formatted as "Q: query content" represent a query, and strings formatted as "L: log content" represent a log. Assign an ID to each query, and return all query IDs that appear in a log.
  • Solution: Use a reverted index to record which queries each word appears in. When a log is read, reconstruct the mapping of query IDs to word lists using the reverted index, then compare this to the word list of the query to determine matching queries.

Coding Problem 2: Implement a Buffered Writer

  • Description: Implement a writer with a buffer that includes a settable maximum buffer size. Data is initially stored in the buffer instead of being written directly to the disk. Once the data in the buffer reaches the buffer size, all data is flushed to the disk at once.
  • Implementation: Create a buffer to store data, monitor its size, and when the buffer reaches or exceeds the set limit, write all content from the buffer to the disk and clear the buffer for new data.
Previous
Previous

Affirm Summer Intern 面经 — OA代做 | 电话面试代做

Next
Next

Anthropic SDE Phone 面经