Arm Interview Question

Compiler: What are algorithms and strategies used when deciding memory allocations for a ML graph?