Sorry if it does not fit here. But I am writing in C so I thought post it here. Sorry.
I am writing a program in C that reads a grid of 5x5 in a 2D char array:
And then it reads some more grids of 5x5 size.Code:o o o o o . . o . . . . o . . . . o . . . . o . .
My objective is to tell if they match the first grid.
Now the problem is:
I should be able to match them even if they are rotated/flipped/mirrored!
I am not asking for a code or any such help. This is also not my home work.
I just want to now if it is a similar problem to some already solved problem?
Is there already an algorithm that will help me solve this problem?