Question d’entretien chez Affirm

2 data structure/dynamic programming questions - easy/medium on Leetcode. 1 hour for both with explanation. (closed-book)