LLD - Design — Tic-Tac-Toe Game
In a game with 5 players, if the current player index is 4, what will be the next player index after executing:
current_player = (current_player + 1) % 5
current_player = (current_player + 1) % 5
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions