If I have a grid of 3x3, and it's for a latin square board
Where each row is a unique set of characters.
My question is; I have currently checked if the grid is a n x n grid, but how can I check if there is a "n" different amount of characters used i.e. 3 characters such as ABC
Am I supposed to use a count function? Or am i supposed to integrate this question "code" into my square function:
Maybe if I clarify my question; I want to check if theres an N amount of characters. Such as if the nxn function checks if its 3x3, there should also be 3 Different characters, it doesn't need to check if they are ABC in different orders but just any 3 different characters used