1.

The time that depends on the input: an already sorted sequence that is easier to sort.(a) Process(b) Evaluation(c) Running(d) InputThis question was posed to me during an internship interview.Question is taken from Algorithms topic in division Planning the Computer Program of Computer Fundamentals

Answer»

The correct OPTION is (c) RUNNING

For explanation: The running time depends on the input: an already sorted sequence is easier to sort. The running time is given by the size of the input, SINCE short sequences are easier to sort than the longer ones. Generally, we SEEK UPPER bounds on the running time, because it is reliable.



Discussion

No Comment Found

Related InterviewSolutions