Leetcode Constraints Time Complexity Of Linear And Exponential Growth