Implement bitmap-based block allocator | eBay Interview Question