dave08
stringList.foldRight( mutableListOf<String>(), { item, cur -> item.takeIf { isEmpty() }.let { cur } ?: { cur.apply { add(0, item) } } } )