Uber LLD

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-10-18Added By Anonymous
Source: Link

Company: Uber

Role: software engineer ii, senior software engineer

Interview Stage: Onsite


Original Post Content:


Hi,


I got this question in my Uber design in specialization round:


Design In memory file system and implement:


Create

Delete

Move


Interviewer was particularly interested in Move method and implementation.

Btw, this system should support Drive,Folder,File types (Drive being on the top hierarchy)


My approach is to create a map of <Path,Entity> and change the path in move. Anyone can tell me of a better approach. I am waiting for my results.

Comments