Algorithms, Java, Development, Coding, Computer Science.
the drawbacks of the Time Measuring is a change of method. Instead of measuring the execution time of algorithms we can count the number of instructions that algorithm has to execute. And we can say that each of the instructions takes some constant time to execute. Here is how we do the instruction