|
|
back to boardShow all messages Hide all messagesHow's that? FE, it seems to me, my solution works for O(logn), where n is the length of text and the base of logarithm is 1999/1998. Igor, it seems wrong because your solution has exactly same asymptotical order. O(ln X/ln(N/(N-1)) = O(ln X/(ln(1+1/N))= O(N*ln X) |
|
|