Flags come in families
A cross shifted towards the flagpole marks the Nordic countries, and they differ from each other mainly by colour. Three vertical bands of equal width is a template borrowed from revolutionary France by many nations. A small flag in the upper corner usually indicates a former constitutional link to Britain.
Learning the families is far more efficient than learning individual flags, and it converts a memory test into a process of elimination.