Zeta Interview Question

Leetcode medium level questions. Dynamic programming , array, collections.