Answer the question
In order to leave comments, you need to log in
Is there an algorithm that allows you to place signs between terms to get equality?
Let's say there is an expression:
4 4 4 = 4;
Is there an algorithm that will put + or - signs to get an identity?
Answer the question
In order to leave comments, you need to log in
If the numbers are different - you can consider this problem as a breadth-first search.
If the same, then this is a simple generation of all permutations in the sequence.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question