Skip to content

Commit 955d8b5

Browse files
committed
Rename class: 400/kt
1 parent 3a3ef88 commit 955d8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

400.nth-digit.1.[nopass].kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import kotlin.math.pow
77
import kotlin.math.ceil
88

9-
class Solution {
9+
class Solution_findNthDigit_1 {
1010
fun findNthDigit(n: Int): Int {
1111
val (count, max) = generateSequence(Pair(0, 0)) { (count, max) ->
1212
(count + 1).let { Pair(it, max + (it * 10.toDouble().pow(it) * 0.9).toInt()) }.takeIf { it.second < n }

0 commit comments

Comments
 (0)