General aproach I'm going to resolve these challenges practicing TDD, functional programming and SOLID My way of working to solve it is firstly pass the test over the example input and result and then execute it for the daily quests.