We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf5918 commit f469234Copy full SHA for f469234
src/main/kotlin/g0201_0300/s0218_the_skyline_problem/Solution.kt
@@ -14,9 +14,9 @@ class Solution {
14
val totalBuildings = blds.size
15
val buildings = Array(totalBuildings * 2) { i ->
16
if (i % 2 == 0) {
17
- Building(blds[i/2][0], blds[i/2][2], true)
+ Building(blds[i / 2][0], blds[i / 2][2], true)
18
} else {
19
- Building(blds[i/2][1], blds[i/2][2], false)
+ Building(blds[i / 2][1], blds[i / 2][2], false)
20
}
21
22
buildings.sort()
0 commit comments