The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses

10/26/2021
by   Jayson Lynch, et al.
0

We show NP-completeness for various problems about the existence of arithmetic expression trees. When given a set of operations, inputs, and a target value does there exist an expression tree with those inputs and operations that evaluates to the target? We consider the variations where the structure of the tree is also given and the variation where no parentheses are allowed in the expression.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset