3 ms·
I wasn't being entirely sarcastic. It never occurred to me that you could use a non-polynomial-time algorithm.
by cperciva 16y ago
I wasn't being entirely sarcastic. It never occurred to me that you could use a non-polynomial-time algorithm.
- util 16y agoAll the solutions posted here seem to involve generating all subsequences. Could you say more about your approach?