Tesco Interview Question

Coding was simple task that should be done with TDD