結果 : algorithm for circular queue operations