December 2015
Intermediate to advanced
400 pages
13h 3m
English
Add a filter(_:) method to your Stack structure. It should take a single argument, a closure that takes an Element and returns a Bool, and return a new Stack<Element> that contains any elements for which the closure returns true.
Read now
Unlock full access