Which of the following is true about the time complexity of the recursive solution of the subset sum problem?
A. It has an exponential time complexity
B. It has a linear time complexity
C. It has a logarithmic time complexity
D. it has a time complexity of O(n2)
Answer: Option A
Join The Discussion