Pergunta de entrevista da empresa Roblox

Leetcode hard backtracking/dynamic programming problem