BlaBlaCar Interview Question

Complexity ? Concurrency issue ? Any cache needed ?

Interview Answer

Anonymous

Jan 10, 2024

my solution was O(n). it has a concurrency concern needed to be tackle, just be careful ;) For the design interview depending on how fast you go to anwser question, scalability issue might come on the table, in that case thinkabout using a redis