You are viewing a single comment's thread. Return to all comments →
hey im new here i can understand dp[i-3]+dp[i-2]+dp[i-1] but why are we taking %MOD
Seems like cookies are disabled on this browser, please enable them to open this website
Recursion: Davis' Staircase
You are viewing a single comment's thread. Return to all comments →
hey im new here i can understand dp[i-3]+dp[i-2]+dp[i-1] but why are we taking %MOD