+ 1

A question about hash tables

Is it possible to create a hash table in C++ without third-party libraries

2nd Jan 2025, 5:46 PM
Колоб Масло
Колоб Масло - avatar
1 Odpowiedź
+ 1
Yes but you’d need to implement a hashing function. Given that modern hashing functions used for this purpose are ultra-optimized to avoid collisions, your manual implementation is unlikely to be very good in comparison. But you can absolutely get it to work if that is simply your goal.
5th Jan 2025, 6:50 PM
lumpychum