Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TwoStackQueue ¶
双栈实现队列.
func NewTwoStackQueue ¶
func NewTwoStackQueue() *TwoStackQueue
func (*TwoStackQueue) Add ¶
func (t *TwoStackQueue) Add(i int)
func (*TwoStackQueue) Peek ¶
func (t *TwoStackQueue) Peek() int
func (*TwoStackQueue) Poll ¶
func (t *TwoStackQueue) Poll() int
Click to show internal directories.
Click to hide internal directories.