Hi everyone,
Had an interview with Bloomberg. And they asked a question simlar to Leetcode 794. But it is harder.
The question is to check the current status of Connect 4 game board, and to return if who wins without any moves or one of the players can win with the next move. The input is board(2D array), and the next player.
For example, in the first board below, yellow wins. In the second board below, whoever plays the next chip wins.
Please help! Thank you!


Comments (1)


