Consider the three data structures: Linked lists Stacks Queues Which structure provides flexibility so that elements can be inserted into, or retrieved from, anywhere in the structure? A structure needs to be used for storing and delivering messages. The messages cannot always be delivered immediately because of limited resources, but when delivery occurs the first message to be sent out is the first one that was received. If these messages are stored in a data structure, which would be the most appropriate type of structure to use? Consider the three data structures: Linked lists Stacks Queues Which structure provides flexibility so that elements can be inserted into, or retrieved from, anywhere in the structure? A structure needs to be used for storing and delivering messages. The messages cannot always be delivered immediately because of limited resources, but when delivery occurs the first message to be sent out is the first one that was received. If these messages are stored in a data structure, which would be the most appropriate type of structure to use? Java.