Computer Science - Algorithms - Greedy algorithms - Greedy Algorithm Design

4 sections. Section 1 'What is Greedy?': At each step, make the locally optimal choice. Never reconsider past decisions. Hope that local optimal → global optimal. Much simpler than DP! But only works when 'greedy choice property' holds. Section 2 'When Greedy Works': Activity Selection: pick earlies

Edodovivmagarwal
Computer Science - Algorithms - Greedy algorithms - Greedy Algorithm Design
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Algorithms - Greedy algorithms - Greedy Algorithm Design

vivmagarwal
vivmagarwalJan 29, 2026

Description

4 sections. Section 1 'What is Greedy?': At each step, make the locally optimal choice. Never reconsider past decisions. Hope that local optimal → global optimal. Much simpler than DP! But only works when 'greedy choice property' holds. Section 2 'When Greedy Works': Activity Selection: pick earlies

Details

Computer ScienceAlgorithmsClass 12, Class 12, Grade 12, A2 Level, DP Year 2

Engagement

17

Likes

0

Remixes

0

Comments