Count derangements

1 min read

https://www.geeksforgeeks.org/count-derangements-permutation-such-that-no-element-appears-in-its-original-position/

Coin game winner where every player has three choices
Optimal strategy for a game