Everything you need is in the answer you posted.
First of all, when you create table using pseudo-polynomial time algorithm you don't store boolean values (True if it's reachable, False otherwise), but value of the element that you added to the subset. Than you should be able to construct subset by simply substracting it from the sum you obtained.
So the algorithm is:
For every number
x_i
in your set:Set
p(1, x_i) = x_i
For every other field
p(row, sum)
set it tox_i
ifp(row-1, sum-x_i) != 0
So now
p(row, sum) = x
means that we can getsum
by taking somerow
elements of our set and last one of them isx
.Once
p(some_row, N/2) != 0
you can construct the subset by taking it's valuex
, and moving top(some_row - 1, N/2 - x)
and so forth.
Hope this makes it clear.
BTW. Is there a way to write latex in the answers?