Meta interview question

Linked list and dynamic programming