func (q *Queue[T]) Peek() (res T, err error) {
	if q.IsEmpty() {
		return res, errEmptyQueue
	}

	res = q.array[0]
	return res, nil
}
// Peek returns front of the Queue
Peek returns front of the Queue
// Peek returns front of the Queue
func (q *Queue[T]) Peek() (res T, err error) {
	if q.IsEmpty() {
		return res, errEmptyQueue
	}
	res = q.array[0]
	return res, nil
}
func ( q * Queue [ T ] ) Peek ( ) ( res T , err error ) { if q . IsEmpty ( ) { return res , errEmptyQueue } res = q . array [ 0 ] return res , nil }
Peek returns front of the Queue
Peek returns front of the Queue