AI is excellent at spotting O(n^2) complexity that humans might miss.
“Analyze this code block for Big O complexity: [Paste Code].
Identify any ‘N+1’ query problems, unnecessary allocations, or blocking I/O.
Suggest a refactored version that optimizes for both memory and execution time.”
