Time and space complexity for C++.
1
Code is sent to the server for analysis. Estimates are heuristic.
The local server supports form analysis without JavaScript. Examples, drafts, and hosted analysis require JavaScript.
Estimates, not proofs. Auxiliary space excludes input.
Code changed — analyze again to update this graph.
Modeled estimates, not benchmarks. Space excludes input.
Hover to inspect · Drag to pan · Scroll or pinch to zoom
CostBudgetOver budget
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.