Design Excel Sum Formula


  • 0

    Click here to see the full article post


  • 0
    T

    I think for "sum" operation, since we can allow "A1", "A1: B2" to coexist, the length of the list, L, should be considered when we are talking about the time complexity of this operation. Am I wrong?


  • 0

    @Todoloki You are right. I've updated the complexities now. Please have a look. Thanks for your feedback.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.