Study complexity
Second version