Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anupam-kumar-krishnan/Competitive_Programming
/ isEmpty
Function
isEmpty
Basic Programming/queue.c:38–41 ·
view source on GitHub ↗
Queue is empty when size is 0
Source
from the content-addressed store, hash-verified
36
37
// Queue is empty when size is 0
38
int isEmpty(struct Queue* queue)
39
{
40
return (queue->size == 0);
41
}
42
43
// Function to add an item to the queue.
44
// It changes rear and size
Callers
3
dequeue
Function · 0.70
front
Function · 0.70
rear
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected