2d mutable list populate - kotlin
I am trying to fill the list below with strings, but I cannot figure out how to
set the variable strings to match the required type. I keep getting type mismatch.
(type mismatch: inferred type is MutableList but String was expected)
fun main() {
val inputList: MutableList = mutableListOf()
val n = readLine()!!.toInt()
var strings: String
for (i in 0 until n) {
strings = "D".toString().toMutableList()
inputList.add(strings)...