formatting
This commit is contained in:
parent
1478c47666
commit
f6cff3a1c4
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class DayTwo implements Solvable {
|
||||||
gradients.push("ascending")
|
gradients.push("ascending")
|
||||||
} else if (levels[i] > levels[j]) {
|
} else if (levels[i] > levels[j]) {
|
||||||
gradients.push("descending")
|
gradients.push("descending")
|
||||||
} i++
|
}
|
||||||
|
i++
|
||||||
j++
|
j++
|
||||||
}
|
}
|
||||||
// is safe and constant gradient?
|
// is safe and constant gradient?
|
||||||
|
|
Loading…
Reference in a new issue