Reducing Algorithm Time Complexity of Recursive Function

前端 未结 0 999
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-20 12:14

This is the code for function f(T,k) where

f(T,k)=∑(from i=1 to i≤len(T)) T[i], for k=0, where len(T) is length of array T.
f(T,k)=∑(from i=1 to i≤len(T)) ∑(f         


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