0xc0der
Joined 2 years ago
Joined 2 years ago
can point me to where to find more about this.
> For a counterexample, imagine you have a ton of items that have a weight of 10^-20 and value of 1, and a single item that has the weight of whatever is the capacity of the knapsack (so it’s only thing that fits if it’s inserted to the knapsack) and the value of +infinity.
that is rather an extreme example. i do not see the how it affects the validity of the solution in most cases.
> I would recommend finding an open course on algorithm design and analysis and going through the lessons while trying to extrapolate approaches to problems instead of just solutions to them.
implementing solutions is the concrete result of extrapolating approaches and choosing the best one to implement. and that is the pragmatic approach.
don't try very hard because you'll probably fail. 0.01% percent improvement every day is enough. read one page, walk 100 meters, ... you get the idea.
never victimize yourself. it's a self fulfilling prophecy.
your problem is that you are unable to fix your problem. if the solution can not come from yourself why not seeking help from others?