HF RL Explorer

hash tables: read answer

hash tables: read answer: a task in smol-software-harbor (Harbor dataset). If every word of words.txt is inserted into a Table from src/table.c (8 buckets, djb2 hash as implemented there), how long is the longest chain? Write just the number to /workdir/answer.txt and do not modify any file (you…

The task

If every word of `words.txt` is inserted into a `Table` from `src/table.c` (8 buckets, djb2 hash as implemented there), how long is the longest chain? Write just the number to `/workdir/answer.txt` and do not modify any file (you may compile and run small programs outside the project files, e.g. in /tmp).

Part of efederici/smol-software-harbor.