Skip to main content

CourseBeta

Greedy and Dynamic Programming with C

Learn two ways to design an algorithm in C. Make greedy choices, see where they fail, then use memoisation and tables to solve classic problems, and finish with a text diff built on LCS.

  • Level: Advanced
  • Duration: 3 weeks
  • Type: Interactive
  • Language: English
  • Practice Problems: 40+
  • Quizzes: 15+
Enroll for FREE

Course Content

  • 1.1 Repeated Work
  • 1.2 Recap

  • 2.1 Greedy Choices
  • 2.2 A Second Greedy Problem
  • 2.3 Recap

  • 3.1 Value for Weight
  • 3.2 Deadlines and Intervals
  • 3.3 Recap

  • 4.1 Short Codes for Common Letters
  • 4.2 Building It in C
  • 4.3 Recap

  • 5.1 When Greedy Fails
  • 5.2 Recap

  • 6.1 Remember Answers
  • 6.2 Memoising Coin Change
  • 6.3 Recap

  • 7.1 Fill It In Order
  • 7.2 Counting Memory
  • 7.3 Recap

  • 8.1 1 Knapsack
  • 8.2 Two Strings
  • 8.3 Recap

  • 9.1 Walk Back Through the Table
  • 9.2 Recap

  • 10.1 Two Rows Are Enough
  • 10.2 Recap

  • 11.1 The Plan
  • 11.2 Build It
  • 11.3 Recap
Start this Course
Get Certified

Frequently asked questions

You can start Greedy and Dynamic Programming with C with a 7-day free trial. Click "Enroll for FREE" to begin.

About 3 weeks. The course has 11 chapters.

Greedy and Dynamic Programming with C is an Advanced course. We recommend completing Learn C Programming and Learn Recursion With C first.