Compass Interview Question: On Site 2 - write the code fo... | Glassdoor

Interview Question

Software Engineer Interview New York, NY

On Site 2 - write the code for a load balancer. You can add

  a node, delete a node or pick a node at random. All have to be constant time and balancing should be even

Interview Answer

1 Answer


This is impossible. The interviewer kept insisting, "remove method in java arraylist is constant time" . The interviewer was very nasty. At times rude, condescending. Started off looking at his phone and really did not come out. In the middle yelled "can you please write production code and not pseudo code". I tried to have a discussion . But instead he says " i am not supposed to help you". At the end, says, I shouldnt be telling you this, but ... A very weird sense of arrogance

Interview Candidate on Feb 21, 2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.