What does it mean for a function to have linear runtime?
It will take your program less than half a second to run.
The difficulty level your code is written at is not that high.
The amount of time it takes the function to complete grows linearly as the input size increases.
You did not use very many advanced computer programming concepts in your code.