News for hackers. Stuff that matters.
Re:The Programming Interview from Hell by fishnchips on Monday February 20, 2017 @09:54AM (#13687721)
I had a similar interview question at Booking.com once. You can solve it in linear time with some extra space (worst case - linear) for two constant-time lookup structures.

There are no comments on this comment yet.