Player
BAN USER- 0of 0 votes
AnswersDesign a data structure that supports 3 below operations
- Player in United States
1. GetNextId() : It returns the auto incremental next id. i.e 1 then 2 then 3 then 4
2. Acknolwdge(int i) : receives the acknowledgement of the id that was sent by GetNextId
3. GetIdLevel() : It returns the minimum id that has not been acknowledged| Report Duplicate | Flag | PURGE
Uber Software Engineer / Developer
Rep
Replillyalaird, Associate at Achieve Internet
I am Lilly from Eau Claire USA, I am working as a manager in a Best products company. My interest ...
Repleroydperry, Backend Developer at AppNexus
I am from the USA. I am 27 year old. I drive the train for my company Monk Home Funding ...
Repkylieblindner, abc at ASAPInfosystemsPvtLtd
Hello, I am Kylie. I am working in a store as Supply chain managers promote the design, development, and implementation ...
RepGretaHLopez, abc at ASAPInfosystemsPvtLtd
Hello, I am Greta and I am working as a GIS specialist who often works for state or local governments ...
Repritahmixon, Analyst at ADP
Hi, I am a physiotherapy to help people handle everyday problems. I also assist peoples who have issues caused by ...
RepWandaScales, Applications Developer at Aspire Systems
I am a Medical writer in the Just For Feet company . I enjoy spells for making someone obsessed with you ...
Repjd5636176, Area Sales Manager at Achieve Internet
I am currently in the tool and die maker in Titania to start my career. I work from engineering drawings ...
ChrisK, nice analysis. However, this was more of a coding question, not design. I guess the emphasis was on picking the right data structure ( Tree / LinkedHashmap) to represent the filesystem so that change detection and copy can be done in a efficient way.
- Player October 09, 2017