What does it mean for a function to have linear runtime?

Advertisement

  • You did not use very many advanced computer programming concepts in your code.
  • The difficulty level your code is written at is not that high.
  • It will take your program less than half a second to run.
  • The amount of time it takes the function to complete grows linearly as the input size increases.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.