In functional programming, is “saving the state” of an algorithm at the recursive function argument cheating?

前端 未结 0 1061
别跟我提以往
别跟我提以往 2020-12-06 02:55

for instance, lets suppose we had to write an algorithm to get the max value of an array of integers, could we still call the code functional if we make the recursive functi

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