Bar Cutting Algorithm
Hi,
I have an array of lengths that need to be cut from a longer bar. I need to sort the array so that it produces the least amount of waste when the task is finished. Does anyone know of a good algorithm that would allow me to do this? I have looked up some online, but they seem hard to code. Does .Net have any classes that could assist me?
Thanks for your help.

Answers
Know the answer? Post it. Somebody with the same question will find it here.