This is a C# project with a lot of inefficiencies. See how much you can optimize it and reduce the time it takes to complete.
- You can only modify
Dog.csandFlea.cs. - A dog can have many fleas.
- Two dogs are the same if they have A) the same name and B) the same fleas (regardless of the order).
- Two fleas are the same if they have the same name.
- A dog can't have two fleas of the same name.
To give you an idea of how much it can improve, I got this running from ~12s down to ~0.5s on my setup. Of course your mileage may vary.