r/C_Programming • u/Significant_Ant9861 • Aug 08 '26
Hash table
I am newbie and a beginner in c language. I would like to learn the hash table for my next semester.
I kindly ask for some help in this matter. I still struggle in the basics even using the ai models.
8
Upvotes
View all comments
Show parent comment
7
u/Puzzleheaded_Study17 Aug 08 '26
It wouldn't work well since you won't have fast access time. In order to get the expected performance from a hash table you need to be able to access a random list in constant time (ignoring hashing time and collisions).