```stringList.foldRight( mutableListOf<String&g...
# codereview
d
Copy code
stringList.foldRight( mutableListOf<String>(), { item, cur ->
    item.takeIf { isEmpty() }.let { cur } ?: { cur.apply { add(0, item) } }
} )