Examveda

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


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures