Added notebook solving the following: Sort a stack using another stack as a buffer.

This commit is contained in:
Donne Martin
2015-05-24 10:48:04 -04:00
parent 9fefcd12f0
commit f022739318
2 changed files with 146 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ Continually updated IPython Notebooks containing coding problems and solutions (
* [Implement a set of stacks class that wraps a list of stacks, each bound by a capacity](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/stacks-queues/set-of-stacks.ipynb)
* [Implement the Towers of Hanoi with 3 towers and N disks](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/stacks-queues/hanoi.ipynb)
* [Implement a queue using two stacks](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/stacks-queues/queue-from-stacks.ipynb)
* [Sort a stack using another stack as a buffer](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/stacks-queues/sort-stack.ipynb)
## Hacker Rank