Learn how to calculate subfactorials, a fun programming challenge that involves recursion and mathematics. Discover the equation to calculate subfactorials and try the exercise on your own.
Sort: