Skip to content

Conversation

@sunreaver
Copy link

When calling queue.Enqueue (4), the queue is full and will be calling queue.Dequeue --> queue. start++

so the queue.Peek will return queue.values[queue. start] is 2

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant