File: leetcode/easy/2798-chunk-array/chunk-array.ts Generated: 2025-11-13T01:06:33.411Z
Estimated: O(1) Description: Constant time - single operations Confidence: 58.3%
Estimated: O(1) Reason: Constant extra space
- Array: []
- access: O(1)
- search: O(n)
- insertion: O(1) amortized
- deletion: O(n)
- Stack/Queue: .push(
- push/pop: O(1)
- shift/unshift: O(n) for arrays
- Lines of Code: 10
- Cyclomatic Complexity: 2
- Max Nesting Level: 2