Othello Move Simulation

Othello Move Simulation

Given an R × C Othello board and one attempted move by the current player, simulate the move.

Board symbols:

  • B — black piece
  • W — white piece
  • . — empty cell ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: