We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236e5ea commit b792864Copy full SHA for b792864
climbing-stairs/jaejeong1.java
@@ -1,10 +1,5 @@
1
class SolutionClimbStairs {
2
3
- public static void main(String[] args) {
4
- SolutionClimbStairs s = new SolutionClimbStairs();
5
- System.out.println(s.climbStairs(3));
6
- }
7
-
8
public int climbStairs(int n) {
9
if (n == 1) {
10
return 1;
0 commit comments