Arista Networks Interview Question

Implement a system to assign memory segments to processes