Skip to content

Commit

Permalink
增加一道剑指offer题
Browse files Browse the repository at this point in the history
  • Loading branch information
584807419 committed Sep 25, 2017
1 parent 383926a commit 393f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ class Anagram:
```


## 23 O(1)时间复杂度实现入栈、出栈、获得栈中最小元素、获得栈中最大元素
## 23 O(1)时间复杂度实现入栈出栈获得栈中最小元素最大元素

```python
#定义栈结构,根据栈的后进先出特性,增加辅助栈,来存储当前状态下数据栈中的最小、最大元素。
Expand Down

0 comments on commit 393f22b

Please sign in to comment.