pyq/2023/csat/56
A flag has to be designed with 4 horizontal strips using some or all of the colours red, green and yellow. What is the number of different ways in which this can be done so that no two adjacent stripes have the same colour?
(A) 12
(B) 18
(C) 24
(D) 36