New answers tagged complexity
Let's get philosophical for a minute. Has the number of objects changed from N? No? Then it is still O(N) because you started with the premise that N was the number of input objects and that was what was chosen to measure against. Now you could start with a different premise for a given data structure, say in a case where the individual data structures is ...
Top 50 recent answers are included