OpenAI logoOpenAI
Coding·75 minMembers

Memory Allocator

Members only

LeetCode 'Design Memory Allocator'. `Allocator(size=1000)` with `malloc(size) -> pointer` and `free(pointer) -> bool`. The interviewer explicitly rejects O(n) linked-list solutions and asks for a bett...

SWE
algorithm
data-structure
hard
Frequency
Medium
Last asked
2026-03-13
Stage
phone-screen

Log in to continue reading the full content