Plan
This lab opens in week 7. The full step-by-step page, the starter repository and the tests are published before that Monday; the plan below is final.
- list.c: a singly linked list of ints: insert at head, print, search, free.
- dictionary.c:
load,check,size,unloadfor a dictionary file, using an array of linked lists and a hash function you design. - Benchmark: a provided
spellerdriver times your table on a 140 000-word dictionary; compare two hash functions. - Explore notebook: distribution of words across buckets drawn as a bar chart for each hash function.
How it works
Same loop as every lab: accept on Classroom 50, open in Codespaces, solve the TODOs, python3 check.py until green, git push. See how labs work and the setup guide.