229,710 views
25 votes
25 votes
You have just created this algorithm and want to make it less complex without changing its output. What type of function should you add to it? MRO O A. If-else statement O B. Set to function O C. Repeat function O D. If-then statement​

User Cobbal
by
2.9k points

1 Answer

15 votes
15 votes

Algorithm analysis is an important part of computational complexities. The complexity theory provides the theoretical estimates for the resources needed by an algorithm to solve any computational task. Analysis of the algorithm is the process of analyzing the problem-solving capability of the algorithm in terms of the time and size required

User Onca
by
2.6k points