Explain different means of improving efficiency of algorithm. (5m)
Answers
Answered by
1
Answer:
Algorithm complexity is something designed to compare two algorithms at the idea level ... So it's time to define what a "better algorithm" really is. ... 5. M = A[ i ];. 6.
Answered by
1
The different ways in which we can improve the complexity of an algorithm are by managing the two complexities which are linked with it i.e., Space complexity and Time complexity.
Space complexity is defined as the amount of the memory storage an algorithm needs to work effectively without giving and faults and failures.
Time Complexity is defined as the time taken by an algorithm to run efficiently by taking a specific input.
Similar questions