Tuesday, November 30, 2010

Time Complexity

The complexity of int f(vector v) {return v.size();} is O(1).

No comments:

Post a Comment