mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-09 19:08:02 +00:00
Polish set of stacks challenge and solution (#73)
Update constraints, algorithm discussion, and code.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user