We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Yes, beware that you need to sort the input in arrival time - I suppose that its not stated that they are not in such order, so it would be a bad assumption perhaps, but the examples show in order arrival data so it might be misleading
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Average Waiting Time
You are viewing a single comment's thread. Return to all comments →
Yes, beware that you need to sort the input in arrival time - I suppose that its not stated that they are not in such order, so it would be a bad assumption perhaps, but the examples show in order arrival data so it might be misleading