How does recursive function return an int when the base case returns a bool?

后端 未结 0 987
渐次进展
渐次进展 2021-02-12 23:01

I have a function that will return the number of subsets that add up to 0.

I am given this solution, but I don\'t understand why it actually works.

int cou         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题