Both problems are NP-complete.
兩個問題皆為NP完全。