Alkemics Interview Question

I was asked to code a function in python based on a well-defined spec and explain how I would test it.