Author: Unknown
Subject: cont'd: Implementing hashtable
Date: Tuesday, 14 Apr 2020, 10:38:46
Is it possible/recommended to have hash defined as a struct with three fields: int size, int n, and an array of void*. Each pointer void* is intended to point to an array, but is initially set to NULL when the hashtable is created. When something is inserted, the an array is then malloc-ed and the relevant void* pointer then points to the malloc-ed array. Does this overview make sense?PREV INDEX NEXT