A flag is to be designed with 5 vertical stripes using some or all of the four colours: green, maroon, red and yellow. In how many ways can this be done so that no two adjacent stripes have the same colour?
- (A) 576.
- (B) 120.
- (C) 324.
- (D) 432.
Source: ISI MStat