DevTools Logo

Big-O Complexity Comparator

Big-O Complexity Comparator

Compare algorithm growth rates with deterministic, client-side curves and operation counts.

Curve settings

Choose the input range and curves to draw.

Curves

Growth curves

Normalized SVG plot from n = 1 to 100 (linear scale).

O(1)O(log n)O(n)O(n log n)O(n²)O(n³)O(2ⁿ)O(n!)

Operation comparison

Idealized operation counts for common input sizes; exponential and factorial values are safely capped.

Complexityn=10n=100n=1kn=1000k
O(1)1111
O(log n)3.326.649.9719.93
O(n)101001,0001,000,000
O(n log n)33.22664.399,965.7819,931,568.57
O(n²)10010,0001,000,0001,000,000,000,000
O(n³)1,0001,000,0001,000,000,000≥ 9.0 quadrillion
O(2ⁿ)1,024≥ 9.0 quadrillion≥ 9.0 quadrillion≥ 9.0 quadrillion
O(n!)3,628,800≥ 9.0 quadrillion≥ 9.0 quadrillion≥ 9.0 quadrillion

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML