The Solver

The solver’s algorithm is shown below.

algo_cam