Unordered_map vs map

Revision en1, by naitik10001, 2023-01-28 23:42:24

190829557 This is my submission Which gives me TLE,I think Using Map is more preferable than unordered_map as worst Time Complexity of Unordered_map is O(n^2) as compared to O(logn) for Map!!

Tags #maps, #hashing

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English naitik10001 2023-01-28 23:42:24 225 Initial revision (published)