Computer Science, asked by saraimran0101, 1 year ago

In the context of Graph Algorithms, do you agree or not with the given statement?

"An efficient algorithm takes small amount of time and as well as small amount of space to solve a graph theory problem."

Answers

Answered by crossword78
0
Not properly said if the algorithm is in long run then it require some time ya it amount pf space is small
Answered by phillipinestest
0

Yes. The statement is somewhat correct and I partially agree with it. "An efficient algorithm takes a small amount of time and as well as small amount of space to solve a graph theory problem."

However, in real life conditions, an algorithm has to trade away space for lesser running time.

So, an algorithm can also be considered as efficient if it takes a small time but somewhat more amount of space to solve a graph theory problem or any problem.

Similar questions