fast find any closest need summation number in a set of array use recursive method and dynamic programming