Leetcode Time Complexity Constraints In Project