Truck-kun's blog

By Truck-kun, history, 3 years ago, In English
  • Vote: I like it
  • +2
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
Rev. 3  
Vote: I like it +13 Vote: I do not like it
»
3 years ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Because unordered_map works using hashing concept, and tester can write a particular test case according to hash function which cause more collision and hence cause worst time complexity to find a place(O(n)) to fit a particular element.