question: How is the time needed to obtain the solution to a problem calculated?
sentence: To measure the difficulty of solving a computational problem, one may wish to see how much time the best algorithm requires to solve the problem.