Everon Interview Question: Implement an endpoint that re... | Glassdoor.co.uk

Interview Question

Senior Backend Engineer Interview Amsterdam (Netherlands)

Implement an endpoint that returns the number of started

  and stopped charging sessions for the past 1 minute. The implementation has to run in O(log n)
Answer

Interview Answer

1 Answer

0

I believe the solution is to use a ConcurrentSkipListSet (search, insert and remove operations all have average time complexity O log n)

Interview Candidate on 1 Jul 2020

Add Answers or Comments

To comment on this, Sign In or Sign Up.