educative.io

Educative

Why initialize dp[0] and dp[1] = 1

In Staircase Bottom Up Approach, dp[0] and dp[1] are both assigned to 1. What is the intuition behind that?