Rubrik | SSE | Bengaluru | Oct 2024 | Reject
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.


