Analyzer

Time and space complexity for C++.

Try an example
C++17
0 lines
⌘ / Ctrl ↵

Code is sent to the server for analysis. Estimates are heuristic.

Estimates, not proofs. Auxiliary space excludes input.

Analyze locally with the CLI

Growth explorer

Modeled estimates, not benchmarks. Space excludes input.

Estimated input limit

Hover to inspect · Drag to pan · Scroll or pinch to zoom

CostBudgetOver budget

Settings

Values & assumptions

Input range: 1–1 trillion. Budgets and unit costs are assumptions. Include allocation overhead in bytes per unit; this does not measure peak memory or stack limits.

Tap to inspect. Double-click to reset. Keyboard: arrows to pan, +/− to zoom, Home to reset.

Sampled values
Input sizeOperationsBudget usage