Hacker News new | ask | show | jobs
by ralmeida 2395 days ago
No - OP meant computationally expensive, not cognitively expensive. Two nested for-loops can be O(nˆ2) but can have a cyclomatic complexity as low as 1.