LLD - Design — Tic-Tac-Toe Game
Given the code snippet for move validation, what will be the output if
move.position = 5 and max_position = 4?
def validate_move(move, max_position):
if move.position < 0 or move.position > max_position:
return False
return True
print(validate_move(move, max_position))