# Tie random ends: How many loops?

**Published:** May 21, 2026
**Author:** 3Blue1Brown
**Source:** YouTube — Andrej Karpathy
**Language:** en-US
**HTML:** https://aiqazaqstan.com/en/articles/tie-random-ends-how-many-loops

It's time for a new puzzle of the month. Imagine you have a lot of pieces of string and you drop them into a box. You reach in and blindly grab two random ends and then you tie those ends together and then you do it again. You choose two more ends of the strings at random, tie…

> From the original source: **YouTube — Andrej Karpathy**
> [Read full article at YouTube — Andrej Karpathy](https://www.youtube.com/shorts/ZHXt0-_gSj4)

**Tags:** #YouTube

---

*AI Qazaqstan — non-commercial informational portal about AI in Kazakhstan. Machine translations and summaries are AI-generated.*