Walkthrough of the dynamic programming problem Magical Cows featured in the MAPS 2020 programming competition. This problem is a good example of an adhoc interview problem you could encounter.
Problem:
https://open.kattis.com/problems/magi...
Source code:
https://github.com/williamfiset/Algor...
Algorithms repository:
https://github.com/williamfiset/algor...
Video slides:
https://github.com/williamfiset/algor...
Website:
http://www.williamfiset.com