Adaptation is the mechanism of cognitive growth involving assimilation and accommodation.