Redefined part of my answer for ArrayQueue running time.