MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / stack_using_two_queues.py

File stack_using_two_queues.py

data_structures/stacks/stack_using_two_queues.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from __future__ import annotations
2
3from collections import deque
4from dataclasses import dataclass, field

Callers

nothing calls this directly

Calls 4

StackWithQueuesClass · 0.85
pushMethod · 0.45
popMethod · 0.45
peekMethod · 0.45

Tested by

no test coverage detected