Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Hiring developers in Oakland and the Bay area!

Eran Sandler erans

💭
Hiring developers in Oakland and the Bay area!
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am erans on github.
  • I am erans (https://keybase.io/erans) on keybase.
  • I have a public key whose fingerprint is 2DBE C674 27AD 6FD9 209F 0C1D 2403 18B5 90D1 4A2F

To claim this, I am signing this object:

@erans
erans / mem.c
Created Oct 14, 2018 — forked from ekampf/mem.c
Eran's Interview Question
View mem.c
// 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.
//