LLD - Design — Tic-Tac-Toe Game
Given the following code snippet for a 3x3 board, what will be the output if the board is [['X','X','X'],['O','O',''],['','','']]?
def check_row_win(board):
for row in board:
if all(cell == 'X' for cell in row):
return True
return False
print(check_row_win(board))