23) B
Let the order of the squares be like this:
1 2 3 4 5
6 7 8 9 10
11 12
Pattern 1 – The 1st diagram has the same pattern as the 3rd, 8th and 10th
Pattern 2 – The 2nd diagram has the same pattern as the 9th
Pattern 3 – The 4th diagram has the same pattern as the 12th
Pattern 4 – The 6th diagram has the same pattern as the 7th and 11th
Pattern 5 – The 5th diagram has its own pattern. Diagram 2 and 9 look similar but diagram 5’s pattern cannot be obtained by rotating diagram 2 and 9.
Therefore, there are different 5 patterns. Answer is B