Check if safe distancing is practiced at a round table. x represents person, o represents empty space

后端 未结 0 476
死守一世寂寞
死守一世寂寞 2021-01-29 05:43

A round table can not have more than 5 persons and there cannot be 2 persons sitting adjacently.

The string consists of ‘o’ and ‘x’ symbols, ‘x’ means the seat is taken a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题