Skip to content

Instantly share code, notes, and snippets.

@ameneau
ameneau / mem.c
Created May 27, 2019 16:56 — forked from ekampf/mem.c
Eran's Interview Question
// Implement a virtual 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.
//

Keybase proof

I hereby claim:

  • I am ameneau on github.
  • I am anchovie (https://keybase.io/anchovie) on keybase.
  • I have a public key ASCCB0W1jWkWmicSZ4XksQN56aH2YFcIgNW_2-tqU7WtSAo

To claim this, I am signing this object: