Databricks - Full-stack engineer - Frontend Systems Design

Title Template

Databricks - Full-stack engineer - Frontend Systems Design
Description Template:
Level: Senior
Education: Bachelors
Years of Experience: 4
Questions Asked:

We used CoderPad as the platform. Within coder pad they had a text document about the problem.
It was the typeahead/autcomplete problem.
They didn’t care about css/accessibility just business logic.

The text document included some generic javascript such as an empty state object and a handleInputChange function which I had to implement

They want you to lead the conversation and talk about error/empty/loading states, debouncing the input caching and race conditions
They also wanted to hear the debounce helps prevent getting rate limited

I had to explain how debounce worked by illustrating it with an example
I had to implement a cache mechanism to store all the responses from the API. I also implemented a TTL mechanism I am not sure if that was neccessary

I had to handle the race conditions for successful requests.
As a followup I also had to implement retries
As another a follow up they asked about race conditions in loading and error states as well

1 Like

Are most of the interviews at Databricks framework agnostic AKA vanillaJS?

I tend to like these better than framework specific interviews.

Was this your second systems design? or was this the only one