indexToPath

fun indexToPath(index: Int): List<Int>

Returns the path of the given index.