complexité: time vs space: missing exposant