Earlier quoted context omitted.
One of my favorite magicians: Derren Brown He does a coin flip trick where he flips a fair coin 10 times in a row and gets heads every time. https://www.youtube.com/watch?v=XzYLHOX50Bc The amount of time and effort he puts into this and other illusions is very large.
I used to be a big fan of Derren Brown when I was younger, and I do still like a lot of his work, but he readily admits to deceiving the audience, and the deception includes the explanations he gives for his techniques. The video you linked to was part of a longer show (The System) which gives an explanation for how this trick was done - he says they kept filming take after take, for 9hrs, until they finally got ten…
You just created a mental linked list that you can traverse from either direction, and that you'll remember for as long as you want to. Push it to the extremes, build up your method of loci to arbitrary lengths, build your memory palaces and become Hannibal Lecter.