Top | MCQs on Greedy Algorithms with Answers | Question 19

Last Updated :
Discuss
Comments

What is the time complexity of the greedy algorithm for the coin change problem?

O(n)

O(nlogn)

O(log n)

O(n^2)

Share your thoughts in the comments