Complexity Class P\mathsf{P}

The decision problems that have a polynomial-time algorithm, i.e. an algorithm that answers every instance xx in O(∣x∣k)O(|x|^k) steps, for a fixed constant kk.

Reference

Papadimitriou, C.H. (1994). Computational Complexity. Addison-Wesley.