LeetCode腾讯精选练习50题-070.爬楼梯

📝

内容提要

题目描述example input : n = 2 output : 2 note : 有两种方法可以爬到楼顶。 1. 1 阶 + 1 阶 2. 2 阶 input : n = 3 output : 3 note : 有三种方法可以爬到楼顶。 1. 1 阶 + 1 阶 + 1 阶 2. 1 阶 + 2...

🏷️

标签

➡️

继续阅读