( Speaking about a coding test that was just a simple algorithm using a dictionary to avoid O(n2) but, to show that I was able to write good code, I use clases and functions to segregate responsibilities and favour composition over inheritance ) This class does not look good as aggregate...
Sigiloso
What? Aggregate? DDD has nothing to do here. This doesn't make sense... This is just an algorithm...