ELI5: Explain Like I'm 5

Loop-erased random walk

Have you ever played the game "follow the leader"? Imagine playing this game with a piece of string, and the path you take is completely random - kind of like taking a walk through a maze without knowing where you're going.

Now, imagine that as you walk along, every time you have to cross over a part of the string you've already been on, you cut the string at that point. This would make it so that you never end up backtracking or going in circles.

This is basically what a loop-erased random walk is. It's a type of algorithm that creates a random path, but every time the path crosses over itself (creating a loop), that loop is erased from the path.

This may sound simple, but this type of algorithm has a lot of really interesting properties that make it useful in all kinds of different areas. For example, it can be used in computer science to simulate everything from the behavior of molecules in a chemical reaction to the spread of a disease through a population.

So next time you're playing "follow the leader" with your friends, remember that you're actually learning about some really cool math and science concepts without even realizing it!