Oh come on !! That's obviously visible !!

Group 1 has no closed curves.
Group 2 has 1 closed curve.
Group 3 has 2 closed curves.

The pattern of their classification is the number of closed curves in the shape of the letter.



BTW, when will shabbir activate the cap ?