cara membalikkan daftar Kotlin
import java.util.Collections
fun main() {
val days: List<String> = listOf("Sunday", "Monday", "Friday")
Collections.reverse(days)
println(days) // [Friday, Monday, Sunday]
}
Foolish Fowl