Frage im Vorstellungsgespräch bei C3 Business Solutions

Climbing Stairs Dynamic Programming question (standard leetcode easy)