Hash Tables: Ice Cream Parlor

  • + 1 comment

    Binary Search on each remainder is O(nlogn). Array sort average is O(nlogn).

    So the suggested solution is O(nlogn) instead of O(n). I think.