Subset Sum algorithm
Subset Sum is the first NP-complete problem I learned at Macalester. This question is viewed 36000+ times yet I don’t see a sufficient answer that explains the algorithm in detail with logic. So I thought I make an attempt to do so. Assumption: For the sake of simplicity first I made the assumption that the … Read more