Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit794f343

Browse files
authored
Merge pull requestneetcode-gh#2611 from ColstonBod-oy/patch-9
Update 0091-decode-ways.java
2 parents5f4f024 +c17e095 commit794f343

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎java/0091-decode-ways.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
classSolution {
33

44
publicintnumDecodings(Strings) {
5-
int[]dp =newint[s.length() +1];
65
inttwoBack =1;// empty string
76
intoneBack =s.charAt(0) =='0' ?0 :1;
87
intcurrent =oneBack;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp