#unordered_set search results

Day 50 of #codeSomethingAgainAndAgain I wanted to use #unordered_set since it's also a hashing data structure , but it didn’t work , so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it's also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .
pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it's also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

jsambhav5's tweet image. But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

#cpp #unordered_map #unordered_set spec url: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1456.html


jerusheng #Cpp #TR1 #unordered_set Be careful! hash<long long> is bullshit!


#cpp #unordered_map #unordered_set Rehashing invalidates iterators, elements ordering and bucketing, but NOT ptrs or refs to elements


What happened? RT: @jerusheng: jerusheng #Cpp #TR1 #unordered_set Be careful! hash<long long> is bullshit!


Day 50 of #codeSomethingAgainAndAgain I wanted to use #unordered_set since it's also a hashing data structure , but it didn’t work , so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it&apos;s also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .
pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it&apos;s also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

jsambhav5's tweet image. But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

#cpp #unordered_map #unordered_set spec url: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1456.html


#cpp #unordered_map #unordered_set Rehashing invalidates iterators, elements ordering and bucketing, but NOT ptrs or refs to elements


What happened? RT: @jerusheng: jerusheng #Cpp #TR1 #unordered_set Be careful! hash<long long> is bullshit!


jerusheng #Cpp #TR1 #unordered_set Be careful! hash<long long> is bullshit!


Day 50 of #codeSomethingAgainAndAgain I wanted to use #unordered_set since it's also a hashing data structure , but it didn’t work , so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it&apos;s also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .
pratikplusplus's tweet image. Day 50 of #codeSomethingAgainAndAgain  I wanted to use #unordered_set since it&apos;s also a hashing data structure , but it didn’t work ,  so I had to use #unordered_map . I think HashSet is like the sidekick who can save the day but never gets the lead role 😅 .

But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

jsambhav5's tweet image. But it was taking (N logN) time as insertion in sorted set takes logN time. So I changed the iteration little to be able to use #unordered_set. Which optimised the solution to logN time complexity

Loading...

Something went wrong.


Something went wrong.


United States Trends