what does the term Constant time mean?View more random threads:
- Please define design recipe in C++?
- adding rows and columns of a multi array in c++ 2011
- Picking an IDE in c++ 2011
- How can we stop a programme at any point in C++?
- how to make .h file in c++
- how i can leave spaces between my program output
- oop an procedral programming 2011
- what does it mean " this->object=object"?
- what is the purpose is isopen() in main menu,difining...
- what are the relationship between prefix infix and postfix...
Constant time operation does not depend upon the input size.
For example, if you want to access an element from array, it is a constant time operation.
But if you want to access the minimum element from the array, it is not a constant time operation as you have to traverse the complete array in order to find the minimum element.
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)