This course has already ended.

Homework before week 3

This week our main topic is dynamic programming.

Homework reading

We will follow Competitive Programmer’s Handbook by Antti Laaksonen. Please read (at least) the following part to prepare for week 3:

  • Chapter 7: Dynamic programming

Homework problems

You will find here a mini-contest with two tasks: cses.fi/462/list/. Both tasks can be solved with dynamic programming, with less than 20 lines of code. Please ask in Zulip if you need further hints!

To complete the homework, solve these tasks before the contest closes. Please use your own personal CSES account. Once you have completed the homework contest, please submit the following form:

You cannot submit this assignment

You need to sign in and enrol to submit exercises.

Posting submission...
An error occurred while sending the submission for grading. Make sure you're connected to the internet. If a submission was consumed, the submission will be automatically graded after the service is available again.

Homework for week 3

0 points
Posting submission...