Structure array and linked list comparison

Structure array and linked list comparison

  1. In terms of access

Arrays have random access to their elements

    The linked list must be accessed sequentially, not random access

  1. The use of space

The linked list can be expanded at will

    arrays cannot

Leave a Comment

Your email address will not be published. Required fields are marked *