8000 fix build · erlieStar/Leetcode@65a5938 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65a5938

Browse files
fix build
1 parent e4307d7 commit 65a5938

File tree

1 file changed

+3
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+3
-1
lines changed

src/main/java/com/fishercoder/solutions/_756.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ public boolean pyramidTransition(String bottom, List<String> allowed) {
5959
}
6060

6161
private boolean helper(String bottom, Map<String, List<String>> map) {
62-
if (bottom.length() == 1) return true;
62+
if (bottom.length() == 1) {
63+
return true;
64+
}
6365
for (int i = 0; i < bottom.length() - 1; i++) {
6466
if (!map.containsKey(bottom.substring(i, i + 2))) {
6567
return false;

0 commit comments

Comments
 (0)
0