• + 0 comments

    I had trouble understanding what to do because the name of the matrix 'total_number_of_pages' (which is the matrix to represent the shelves itself) it not intuitive. Pages are things inside of books.

    The problem has poor explanation of why we are using the array 'total_number_of_books', it can be a bit confusing since we can try to use it inside of the matrix, again, because of the name.

    Matrix name should be simply 'shelves', and the array name should be something that actually points to its purpouse of being a map to how many books are in each shelf.