Count the number of occurrences of "OXO" in rows, columns, diagonals and anti-diagonals.
Example:
>> board = ['OOX' 'XXO' 'OXO']; >> count_OXO(board) ans = 3 >> board = [' O ' 'XXO' 'OXO']; >> count_OXO(board) ans = 1
10760 Solvers
It dseon't mettar waht oedrr the lrettes in a wrod are.
494 Solvers
The Hitchhiker's Guide to MATLAB
2695 Solvers
Return the 'Size' of a String of Code
116 Solvers
125 Solvers