www You are given a square tic tac toe board as a string that contains only the characters 'X', '0', or '.'. The board is of size N x N, where N >= 1. The string simply lists out the board row by row, so for example the 3x3 board: X.. 0.X .00 would be provided as the string "X..0.X.00". Your task is to write a function that checks if X is winning, 0 is winning, or neither is winning. Player X-or 0-are defined as winning according to the regular tic tac toe rules. That is, a player is winning if their character completes at least one row,. column, or diagonal. In the example above, neither is winning. In the 2x2-board- below: X. XO X-is-winning because it covers an entire column (left column). In the 4x4- X is winning because it covers an entire column (left column). In the 4x4 board: X..0 охо. .0.X 0..X 0 is winning because it covers the diagonal (from top right to bottom left). You are guaranteed that the board is valid, properly formatted, and there. is at most one winner. Just focus on the meat of checking the winning criterion. Your code will be evaluated based on correctness, speed, cleanliness and brevity.