min and max heap
Complete time consume test