Microsoft Interview Question

Design a memory management system

Interview Answers

Anonymous

Jul 24, 2009

I rambled on and on but didn't quite get it right

Anonymous

Oct 8, 2009

You can design a very primitive algorithm. For memory allocation: Have a circular linked list, and can implement couple of algorithms such as first bit, best fit and next fit. For memory deallocation (automatic): Mark and sweep or reference couting.