1

I would like to write the complexity classes P, NP, NP-complete and NP-hard in LaTex with the mathematical format as follows:

Desired style

Bernard
  • 271,350
scd
  • 774

1 Answers1

2

The answer is:

$\mathcal{N}$   
$\mathcal{NP}$
$\mathcal{NP}$-complete
$\mathcal{NP}$-full
scd
  • 774