Meta interview question

Two leetcode question, lc238 and lc438. medium.