Closed zcaiElvis closed 1 year ago
Current almost_match takes O(n^2). If we sort both lists first and do a binary search of every element from one list to another, this will be O(nlogn)
almost_match
O(n^2)
O(nlogn)
Seemingly no longer used.
Current
almost_match
takesO(n^2)
. If we sort both lists first and do a binary search of every element from one list to another, this will beO(nlogn)