Coding Challenge · INTERMEDIATE
At a local festival, each booth offers a different number of prize tickets. You want to visit a subset of booths so that the total number of tickets you collect is exactly equal to a target value. Your objective is to determine how many distinct subsets of booths you can visit to collect exactly the target number of ti…