Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

answer to question # 2.2 #117

Open
rahulaga-msft opened this issue May 7, 2019 · 0 comments
Open

answer to question # 2.2 #117

rahulaga-msft opened this issue May 7, 2019 · 0 comments

Comments

@rahulaga-msft
Copy link

rahulaga-msft commented May 7, 2019

Answer to question 2.2 says - A linked list because Lots of inserts are happening (servers
adding orders), which linked lists excel at. You don’t need search
or random access (what arrays excel at), because the chefs always
take the first order off the queue.

Isn't in queue insert always happens at last and array would be better choice ?

Or this answer is driven by considering factor - "what if required space is not available in existing contiguous block ? "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant