Knowledge check: Time complexity