NP-easy
In complexity theory, the complexity class NP-easy is the set of function problems that are solvable in polynomial time by a deterministic Turing machine with an oracle for some decision problem in NP.[src] In other words, a problem X is NP-easy if and only if there exists some problem Y in NP such that X is polynomial-time Turing reducible to Y.[src] This means that given an oracle for Y, there exists an algorithm that solves X in polynomial time (possibly by repeatedly using that oracle).[src] NP-easy is another name for FP NP (see the function problem article) or for FΔ 2 P (see the polynomial hierarchy article).[src] An example of an NP-easy problem is the problem of sorting a list of strings.[src] The decision problem "is string A greater than string B" is in NP.[src] There are algorithms such as quicksort that can sort the list using only a polynomial number of calls to the comparison routine, plus a polynomial amount of additional work.[src] Therefore, sorting is NP-easy.[src] There are also more difficult problems that are NP-easy.[src] See NP-equivalent for an example.[src] The definition of NP-easy uses a Turing reduction rather than a many-one reduction because the answers to problem Y are only TRUE or FALSE, but the answers to problem X can be more general.[src] Therefore, there is no general way to translate an instance of X to an instance of Y with the same answer.[src]
In complexity theory, the complexity class NP-easy is the set of function problems that are solvable in polynomial time by a deterministic Turing machine with an oracle for some decision problem in NP.[src] In other words, a problem X is NP-easy if and only if there exists some problem Y in NP such that X is polynomial-time Turing reducible to Y.[src] This means that given an oracle for Y, there exists an algorithm that solves X in polynomial time (possibly by repeatedly using that oracle).[src] NP-easy is another name for FP NP (see the function problem article) or for FΔ 2 P (see the polynomial hierarchy article).[src] An example of an NP-easy problem is the problem of sorting a list of strings.[src] The decision problem "is string A greater than string B" is in NP.[src] There are algorithms such as quicksort that can sort the list using only a polynomial number of calls to the comparison routine, plus a polynomial amount of additional work.[src] Therefore, sorting is NP-easy.[src] There are also more difficult problems that are NP-easy.[src] See NP-equivalent for an example.[src] The definition of NP-easy uses a Turing reduction rather than a many-one reduction because the answers to problem Y are only TRUE or FALSE, but the answers to problem X can be more general.[src] Therefore, there is no general way to translate an instance of X to an instance of Y with the same answer.[src] ==Notes== ==References== .[src]
25 sentences · 25 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"NP-easy." encyclopegia.org, 2024, https://encyclopegia.org/wiki/np-easy. Accessed 01 December 2026.
Chicago
"NP-easy." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/np-easy.
APA
encyclopegia.org. (2024). NP-easy. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/np-easy
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON