79826872

Date: 2025-11-21 19:12:20
Score: 0.5
Natty:
Report link

In the meantime I came up with some heuristic solutions. My algorithm goes as follows:

Approach 1:

This approach is heuristic but runs rather quick and gave good enough results

Approach 2:

This approach is also heuristic and also runs quick. It may be difficult to find a good metric for finding the worst node to cut

Approach 3:

This approach will guarantee the correct solution but was cumbersome to get all the pruning conditions correct. In the end I gave up on this approach since the other approaches were much quicker and the results were good enough

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fromhell777