A trivial change makes the new implementation O(log(N)) instead of...
A trivial change makes the new implementation O(log(N)) instead of O(log(N))+O(M) when there are M repeated scores!
Please register or sign in to comment
A trivial change makes the new implementation O(log(N)) instead of O(log(N))+O(M) when there are M repeated scores!