MCPcopy 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}
59void enqueue(int x)
60{
61 push1(x);
62 count++;
63}
64void dequeue()
65{
66 if((top1==-1) && (top2==-1))

Callers 1

mainFunction · 0.70

Calls 1

push1Function · 0.85

Tested by

no test coverage detected