Cruise Interview Question

write malloc and free with memory alignment