Hypernode Interview Question

Python live coding test and your code must pass their unit testing.