Introduction The Rubik's Cube, invented by Ernő Rubik in 1974, is a timeless puzzle that has captured the imagination of…