Sep22
Problem 4
This solution tries to be elegant as possible but I am not in love with two aspects:
-
The actual block that calculates the solution seems unnecessarily complex. Is there a way we can abstract some of the logic into generic methods like we did for Problem 3?….