File: leetcode/easy/2734-array-prototype-last/array-prototype-last.js Generated: 2025-11-13T01:06:33.410Z
Estimated: O(1) Description: Constant time - single operations Confidence: 58.3%
Estimated: O(1) Reason: Constant extra space
- Array: [n - 1]
- access: O(1)
- search: O(n)
- insertion: O(1) amortized
- deletion: O(n)
- Lines of Code: 7
- Cyclomatic Complexity: 2
- Max Nesting Level: 2