One algorithm to solve a rubiks cube?

my friend said there is one algorithm that will eventually solve the rubiks cube. he said u just repeat it a lot of times. he also said it wil take a really long time. what is it?
5 answers 5