If complexity of algorithm is O(EVlogV). Given E=20000
and V=1000
.
How many seconds it will take to execute?
20000 * 10000 log 10000 = 800000000
what does 800000000
means ?
If complexity of algorithm is O(EVlogV). Given E=20000
and V=1000
.
How many seconds it will take to execute?
20000 * 10000 log 10000 = 800000000
what does 800000000
means ?
Big-O notation is a way of describing how many times a set of operations will be performed. It doesn't relate directly to time on a machine or even instructions required to operate on a machine. So, 800000000 is the number of times a set of operations will be performed when you have a data set of the size E=20000 and V=10000.