When you go out to dinner with your friends, everyone toasts with everyone else once. You wonder how often one glass bumps into another.
Does anyone know what exactly is this asking?
When you go out to dinner with your friends, everyone toasts with everyone else once. You wonder how often one glass bumps into another.
Does anyone know what exactly is this asking?
The Clash in question: https://www.codingame.com/contribute/view/48761f3ba5b8c43d750b55e9613e6161dae0
Solution and explanation: https://socratic.org/questions/20-people-shake-hands-with-each-other-how-many-handshakes-will-be-there-in-total#582659