01-04-2012, 10:14 PM
what does the term Constant time mean?
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.
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.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
