Min Cost Climbing Stairs
Min Cost Climbing Stairs
My approach:
Note: This question is similar to the Climbing Stairs problem with only a little change in conditions so please attempt that question first to understand this.
We can observe a recurrence relation that exists and...
nirbhaycodes.hashnode.dev1 min read