If you grew up in the 1970s and 1980s, it's quite likely that you may have spent many hours trying to solve a Rubik's Cube.
Now an engineer in Cambridge has built a robot that can complete a standard three- by-three cube in just over three seconds - setting a new world record.
It has been built by engineer David Gilday who works for technology firm ARM in Cambridge.
The robots use the mobile phone's camera to scan the cubes. The phones have ARM processors in them and it works out the quickest way to solve the cube.
The engineer has also built a robot which can solve a four-by-four cube in just over a minute - which is also a record.
Another can solve a nine-by-nine cube which is the largest cube ever solved by a robot.