我有: var myList: MutableList<MutableList<Int>> 我想要动态创建一个列表(i, j),它们是Int,它指向myList。首先,我得到了error: variable 'myList' must be initialized,但我不确定这是在路上创建列表并将其添加到列表中的正确方法
target)) return true; } }如果您在查看完整代码时感到困惑,这里是我产生怀疑的部分element of graph list instead of integer which they have specified during declaration我的疑问包含在上面的代码中作为注释