You are viewing a single comment's thread from:RE: Software Engineer Interview Tips - Using Hashtable to Reduce Runtime Complexity 软件工程师面试技巧之 使用哈希表降复杂度View the full contextserggioc (49)in #cn • 8 years ago How the hashtable going to do that difference?
reduce the complexity from O(N^2) to O(N) because it is O(1) to insert and lookup in Hashtable.
i can't understand... Do you have a working peace of code in java or JS?