Given an array and a number, how would you determine whether some elements sum to the given number using only recursion?
Write a function that returns True if any subset of the input array sums exactly to target, otherwise return False. Use recursion only, no loops or iterative dynamic programming.
subset_sum(nums, target)
nums: list of integerstarget: integerdef subset_sum(nums, target):