Rubrik | SSE | Bengaluru | Oct 2024 | Reject

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-04-04Added By Anonymous
Source: Link

Round 1 | Concurrency ->

Implement multithreaded webcrawler


Round 2 | Concurrency ->

Implement a queue in a buffer.


Follow up implement 2 queues in the buffer.

We want to minimize the space as much as possible.

I chunked the buffer into 100 parts. whenever a queue is full it can get a chunk from available chunks so basically each queue is a list of chunk. where the recent chunks is used for append and last chunk for pop. once all items from a chunk is popped ,it is put in available chunks. This way you can gurantee you will be utilising > 97% of the availbale buffer


Round 3 | System Design.

Design a service Like SCP to copy large files from one machine to another.

you need to care about chunking , multithreading, bandwidth etc.


Round 4 | System Design.

Design an in memory key value store.


Comments