Snowflake interview question

leetcode style problems on dynamic programming