Question d’entretien chez Roblox

Some dynamic programming question and a sliding door problem