Polish set of stacks challenge and solution (#73)

Update constraints, algorithm discussion, and code.
This commit is contained in:
Donne Martin
2016-06-21 05:30:14 -04:00
committed by GitHub
parent e71b280082
commit 7f338b0e64
3 changed files with 25 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ class TestSetOfStacks(object):
def test_set_of_stacks(self):
print('Test: Push on an empty stack')
stacks = SetOfStacks(capacity=2)
stacks = SetOfStacks(indiv_stack_capacity=2)
stacks.push(3)
print('Test: Push on a non-empty stack')