Home / Docs / Complexity Analyzer
Feature docs

Complexity Analyzer

Big-O with a proof sketch, not just a label.

What it does

Get time and space complexity for any solution with a short proof sketch showing how the bound is derived, so you can defend it out loud. A chart plots runtime against input size for the dominant operations, and a trade-off table compares the chosen approach against one or two alternatives (e.g., hash map vs. two pointers vs. sort-first). Interviewers probe complexity constantly; this is the difference between stating O(n log n) and owning it.

Configuration

  • {'label': 'Show proof sketch', 'kind': 'toggle'}
  • {'label': 'Compare alternatives', 'kind': 'toggle'}
  • {'label': 'Input-size range', 'kind': 'select', 'options': ['n=10', 'n=10^3', 'n=10^6', 'n=10^9']}

Why it's better

Interview Coder reports complexity as a label; we render the chart and the alternative-approach trade-off table that let you narrate the 'why' when the interviewer pushes.

Telemetry

  • Analyses run
  • Charts generated
  • Comparisons viewed

Try it live

Open Complexity Analyzer in the workspace →