Dynamic Programming for the Subset Sum Problem
Abstract
The subset sum problem is a basic problem in the field of theoretical computer science, especially in the complexity theory [3]. The input is a sequence of positive integers and a target positive integer. The task is to determine if there exists a subsequence of the input sequence with sum equal to the target integer. It is known that the problem is NP-hard [2] and can be solved by dynamic programming in pseudo-polynomial time [1]. In this article we formalize the recurrence relation of the dynamic programming.
Language: English
Page range: 89 - 92
Accepted on: Jan 13, 2020
Published on: May 29, 2020
Published by: University of Białystok
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year
Related subjects:
© 2020 Hiroshi Fujiwara, Hokuto Watari, Hiroaki Yamamoto, published by University of Białystok
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 License.