Chemistry, asked by shreyachinnu3916, 4 months ago

what is the order of n​

Attachments:

Answers

Answered by Simrankaur1025
3

Explanation:

n refers to the size of the input, in your case it's the number of items in your list. O(n) means that your algorithm will take on the order of n operations to insert an item. e.g. looping through the list once (or a constant number of times such as twice or only looping through half).

Similar questions