摘要: Given a multiset S of n positive integers and target integer t, the subset sum problem is to decide if there that sums up t. We present new divide-and-conquer algorithm computes all realizable an u in [EQUATION], where σ elements O hides polylogarithmic factors. This result improves upon standard dynamic programming runs O(nu) time. To best our knowledge, fastest general deterministic for this problem. also modified finite cyclic groups, which within group [EQUATION] time, m order group.