Guided lesson

Euclidean GCD

Math

See the input

Beginner

Input for Euclidean GCD: Repeatedly replace the larger number with its remainder.

24 % 18
101101
Step 1 O(log min(a, b)) time - O(1) space
Guided progression
6% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart