Question d’entretien chez Meta

Decode Ways question from leetcode. Same question from leetcode