circular Queue and linear Queue