MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / solution.py

File solution.py

Hackerrank_problems/Queue using Two Stacks/solution.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Queue:
2 """
3 A queue using two stacks (head and tail), the head
4 stack keeps the elements in a queue order, it means

Callers

nothing calls this directly

Calls 4

enqueueMethod · 0.80
print_topMethod · 0.80
QueueClass · 0.70
dequeueMethod · 0.45

Tested by

no test coverage detected