- 队列
c# | c++ | |
---|---|---|
Enqueue | push | |
Dequeue | pop() | |
Count() | size() | |
Peek() | front() | |
!Any() | empty() | |
- 栈
c# | c++ | |
---|---|---|
Push | push | |
Pop() | pop() | |
Count() | size() | |
Peek() | top( ) | |
!Any() | empty() | |
c# | c++ | |
---|---|---|
Enqueue | push | |
Dequeue | pop() | |
Count() | size() | |
Peek() | front() | |
!Any() | empty() | |
c# | c++ | |
---|---|---|
Push | push | |
Pop() | pop() | |
Count() | size() | |
Peek() | top( ) | |
!Any() | empty() | |