Whenever you're ready, walk me through how you'd approach this.
Design a public interface for memory allocation (malloc and free) that intelligently routes small allocations up to 30 bytes to small_alloc/small_free and larger ones to big_alloc/big_free, including a mechanism to remember which free function to call without that information at deallocation time.