Search
⌘K

Leetcode 3610. Minimum Number of Primes to Sum to Target

Given a target integer, find the minimum number of prime numbers (repetition allowed) whose sum equals the target. The challenge combines prime testing and number‑theory observations (Goldbach-like results) or, for smaller targets, unbounded coin‑change style DP to minimize the count under the input constraints.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.