← All projects
Project record1 mention
Originally shared on Hacker News

Knapsack polynomial-time solution attempt

This project is an attempted solution to the knapsack problem, an NP-complete problem, which the author argues is actually solvable in polynomial time. The solution is posted on Hacker News for feedback.

Last shared
01 / The problem

What it addresses

The knapsack problem, an NP-complete problem the author believes is solvable in polynomial time.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Knapsack polynomial-time solution attempt

    This project is an attempted solution to the knapsack problem, an NP-complete problem, which the author argues is actually solvable in polynomial time. The solution is posted on Hacker News for feedback.

    Problem: The knapsack problem, an NP-complete problem the author believes is solvable in polynomial time.

    Posted by @0xc0der · Original source ↗

    Source text · @0xc0der · · Source ↗

    I have been recently thinking about the NP-complete class of problems particularly the knapsack problem (it is easy to understand and attack). And I think it is really solvable in polynomial time. I actually tried and posted my solution here. https://news.ycombinator.com/item?id=41341608 a bit of feedback would be really helpful.