arXiv · 2110.14045
The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses
Abstract
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.
Explore related subjects
Keep this discovery
Jayson Lynch, Yan, Weng. 2021-10-26. The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses. https://arxiv.org/abs/2110.14045
Cite the original work for its findings. Save a collection to share your selection of sources.