func (q *Queue) Enqueue(v int) {
	if q.n+1 > cap(q.a) {
		q.resize()
	}
	q.a[(q.j+q.n)%cap(q.a)] = v
	q.n++
}
// Enqueue set a value v to the last of Queue

Enqueue set a value v to the last of Queue
// Enqueue set a value v to the last of Queue
func (q *Queue) Enqueue(v int) {
	if q.n+1 > cap(q.a) {
		q.resize()
	}
	q.a[(q.j+q.n)%cap(q.a)] = v
	q.n++
}
func ( q * Queue ) Enqueue ( v int ) { if q . n + 1 > cap ( q . a ) { q . resize ( ) } q . a [ ( q . j + q . n ) % cap ( q . a ) ] = v q . n ++ }
Enqueue set a value v to the last of Queue
Enqueue set a value v to the last of Queue