🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Greedy Algorithms Quiz: all 8 questions

Greedy Algorithms Quiz · Question 8 of 8

Which problems are typically solved greedily? (select all that apply)

Which problems are typically solved greedily? (select all that apply)

  1. A.Non-overlapping intervals
  2. B.Assign cookies
  3. C.Coin change with arbitrary coins
  4. D.Longest common subsequence
Answer & explanation

Correct answer: Non-overlapping intervals · Assign cookies

Arbitrary coin change and LCS need dynamic programming.

Can you get the rest right without peeking?

Take the timed Greedy Algorithms Quiz quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →