Runtime and Correctness property of Split Recursive Factorial

前端 未结 0 636
一整个雨季
一整个雨季 2021-01-28 11:17

What would the big O runtime and correctness property for the split recursive factorial function be?

Factorial(l, h)
    if lo = hi then return lo
    mid ← b(l +         


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