in reply to NP-complete sometimes isn't
The relevant detail in this case is that we are dealing with an array of small integers.
Are we? Do you know that? Just because the examples in the OP were all small integers, does it mean we can assume that it's always the case?
Your solution is very nice, and if it is applicable it's certainly one of the best solutions and I like it. Still you should verify your assumptions before making them (or was it actually mentioned in the original thread, and I missed it?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: NP-complete sometimes isn't
by tilly (Archbishop) on Sep 02, 2008 at 08:06 UTC |