Problems with the C Version
We have to manually ensure
- num_employees is initialized to 0 and never exceeds MAX_EMPLOYEES
- no one else modifies num_employees, or the employees array itself
- we free name when we’re done with the array
- name is copied instead of just pointed
What if we decide to use a linked list or a binary tree instead of an array?