I want to know how to make a resizeable two-dimensional array in Kotlin.
C++ example: vector< vector<int> > my_vector
What I've tried: var seqList: List<List<Int>> = ArrayList<ArrayList<Int>>()
but I'm getting an error when using seqList.add()
error: unresolved reference: add
I have read some questions regarding 2d arrays in Kotlin at stackoverflow, but they are about not-resizeable arrays or are outdated