Arrange the pseudocode pieces of the enqueue function in the queue in the correct order.
Keep in mind:
queueis a queue-type object;elementis an integer that we add to the queue;rearrepresents the index of the last queue's position;maximum_sizedefines the maximum capacity of a queue.