This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Implement a memory manager that takes a large contiguous block of memory and manages allocations | |
// and deallocations on it. | |
// The entire buffer needs to be available for allocation. You can use whatever extra memory you need to manage it. | |
// | |
// Clearly document design choices, algorithm and possible optimizations. | |
// While we require you to implement one memory allocation algorithm, | |
// also document future looking design considerations. | |
// There are many ways to implement this memory manager. It is important for us to know why you implemented it the way you did, | |
// whats the pros and cons to your implementation, etc. | |
// |