You can search for "malloc lab" and find tons of copies of the assignment (with only the instructor names and course numbers changed), but here's one:
http://www.cs.cmu.edu/afs/cs/academic/class/15213-f02/L6/mal...