This notebook was prepared by [Author](https://github.com/). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges).
Refer to the Solution Notebook. If you are stuck and need a hint, the solution notebook's algorithm discussion might be a good place to start.
In [ ]:
def foo(val):
# TODO: Implement me
pass
The following unit test is expected to fail until you solve the challenge.
In [ ]:
%load test_foo.py
Review the Solution Notebook for a discussion on algorithms and code solutions.