Visualize an ArrayDeque. Perform operations AddFirst, AddLast, RemoveFirst, RemoveLast step by step.
Operations: AddLast 10, AddLast 20, AddFirst 5, AddLast 30, RemoveFirst, RemoveLast