i’d like to see the algorithm for that
It would be a piece of cake. The cube has a distinct pattern to solve it. The only difference is the size of the cube (how many individual squares). Memorize the patterns and solving is a piece of cake.
I’m guessing they can’t move the middle post position with the pre-drilled holes on all 6 sides either. That probably helps to further simplify the loving process significantly by removing the number of moves it would take.
From the article:
The cameras scan the Rubik’s Cube to begin analyzing the puzzle through the Kociemba solving algorithm...
http://kociemba.org/download.htm
https://en.wikipedia.org/wiki/Optimal_solutions_for_Rubik%27s_Cube