anthropic | Software Engineer | Interview Experience
Interview Date: Not specified
Result: Not specified
Difficulty: Not specified
Interview Process
The interview involved coding in a live runtime environment using C++. The platform used for the interview was CodeSignal.
Technical Questions
- Time Based Key-Value Store
Implement a functionget_when(self, timestamp: int, key: str, field: str, at_timestamp: int) -> int | Nonethat returns the value of the specified field at the given timestamp from the record associated with the key. Ifat_timestampis 0, perform the get operation as described in Level 1. It is guaranteed thatat_timestampwill not be greater thantimestamp. If the specified field or record did not exist at the given timestamp, return None.
Tips & Insights
Be prepared to write code in C++ during the interview, and ensure you are comfortable with the language, especially if you are more familiar with another language like Python.