Memory allocator: heap divided into blocks. First fit: first large-enough hole. Best fit: smallest fitting hole. Buddy: split powers-of-2. Fragmentation shown as gaps.