title: Which is the best data structure and algorithm to be used in such a case
body: <p>Lets say out of bunch of fruits, each having a nutrition value and price tag attached, I need to select a group of fruits that can provide me the best total nutritional value with an expense limitation. For example, I need to select 5 different fruits and cannot max their total value of 50$ trying to make the best total nutritional value.</p>