Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA
/ enqueue
Function
enqueue
12. Queue/QueueUsingStacks.cpp:59–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
return element;
58
}
59
void enqueue(int x)
60
{
61
push1(x);
62
count++;
63
}
64
void dequeue()
65
{
66
if((top1==-1) && (top2==-1))
Callers
1
main
Function · 0.70
Calls
1
push1
Function · 0.85
Tested by
no test coverage detected