OpenGov interview question

luhn algorithm queencheck 8x8 program