This is a permutation problem because the order of the flags matters. The formula for permutations is given by $P(n, r) = \frac{n!}{(n-r)!}$, where $n$ is the total number of items, $r$ is the number of items to choose, and $!$ denotes factorial. So, we have $P(5,
Show more…