Arista Networks interview question

Implement a system to assign memory segments to processes