/**
 * A geologist wants to create rock collections with a specific number of rocks in each collection.
 * Complete the code by using list comprehension to create the rock collections.
 *
 * @param numCollections The number of rock collections to be created.
 * @param numRocks The number of rocks in each collection.
 * @return A list containing rock collections, where each collection is a list of rocks.
 */
fun createRockCollections(numCollections: Int, numRocks: Int): List<List<String>> {

    return List(numCollections) { i ->
        List(numRocks) { j -> "rock_${i + 1}_$j" }
    }
}
/**
 * A geologist wants to create rock collections with a specific number of rocks in each collection.
 * Complete the code by using list comprehension to create the rock collections.
 *
 * @param numCollections The number of rock collections to be created.
 * @param numRocks The number of rocks in each collection.
 * @return A list containing rock collections, where each collection is a list of rocks.
 */
fun createRockCollections(numCollections: Int, numRocks: Int): List<List<String>> {
/**
 * A geologist wants to create rock collections with a specific number of rocks in each collection.
 * Complete the code by using list comprehension to create the rock collections.
 *
 * @param numCollections The number of rock collections to be created.
 * @param numRocks The number of rocks in each collection.
 * @return A list containing rock collections, where each collection is a list of rocks.
 */
fun createRockCollections(numCollections: Int, numRocks: Int): List<List<String>> {

    return List(numCollections) { i ->
        List(numRocks) { j -> "rock_${i + 1}_$j" }
    }
}