In the following code, we have a list of elements. Select the lines that print an inverted list of the original collection.
println(words.sortedDescending()) // a
println(words.asReversed()) // b
println(words.sorted().reversed()) // cIn the following code, we have a list of elements. Select the lines that print an inverted list of the original collection.
println(words.sortedDescending()) // a
println(words.asReversed()) // b
println(words.sorted().reversed()) // cCreate a free account to access the full topic