November 2016
Intermediate to advanced
480 pages
14h 42m
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