we need to implement the tic tac toe problem for N*N matrix
If we get 3 continuously pattern either horizontally or vertically or digonally. We will consider as 1 point for that pattern.
| X | O | O |
| X | O | O |
| X | X | X |
Here winner is X (points gain by X =2) and (points gain by O =0)

Brajesh KumarRank #678 · 3.5K reputationPosted May 29, 2018, 9:31 PM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted May 29, 2018, 9:27 PM EDT
SAMAYA KHAN79 reputationPosted May 30, 2018, 3:48 AM EDT