#Skip to menu

Kaprekar routine

First read the problem description.

We’ll use Brent’s algorithm for cycle detection.

Comments


Source code of the solution(s):
Tags: