exitdiscount.com
The fruits in basket problem
You have a list of integers which are fruits. Each int value is a fruit type You have two baskets Each baskets can ONLY contain ONE type of fruit. What is the max fruits you can collect? You can on…