Pregunta de entrevista de Telenav

what are heaps? running time, space, complexity