God's algorithm

Etymology
From the notion that God could compute the optimal solution of a puzzle and use it. Coined by in 1980 in connection with the Rubik's cube.

Proper noun

 * 1)  An optimal algorithm that finds the solution with the fewest moves.