A New Algorithm for Subset Sum Problem with Time Complexity
DOI:
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    We introduce a new algorithm for subset sum problem. For any given problem with A(1),A(2),…,A(n-1),A(n),and M, the time complexity of the algorithm is O(nlog2(M+1)+1)and the space complexity is O(n), where A(1),A(2),…,A(n-1),A(n),and M are all positive integers. This result is better than that of the two-list algorithm when M is relatively small.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:March 05,2004
  • Revised:
  • Adopted:
  • Online: May 08,2013
  • Published:
Article QR Code