Hot answers tagged

1 vote
Accepted

pset5 - seg fault when using large dictionaries or texts

Take a close look at the hash function. What happens if a word contains a non-alpha, such as an apostrophe? What values are returned? Try inserting this into your hash function to diagnose: printf(&...
Cliff B's user avatar
  • 68.7k

Only top scored, non community-wiki answers of a minimum length are eligible