Project Euler #103: Special subset sums: optimum

  • + 2 comments

    Time out for all test cases in java. Time complexity of my solution is O(n) and space complexity is O(n). Any help ?