🌀
flying to mars
Highlights
Pinned Loading
-
-
-
-
Turnstile hackerrank's problem solution
Turnstile hackerrank's problem solution 1fun getTimes(times: Array<Int>, directions: Array<Int>): Array<Int> {
2val result: Array<Int> = Array(times.size) { -1 }
34val endTime: Int = times.max() ?: 0
5if (endTime == 0) return result
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


