Previous Problem https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01
In addition to previous problem
In this case, there can be empty places on the board represented by 0.
you have to check the validity of the board.
This is a sub-problem for the next problem of this series.
Swap the first and last columns
CONVERT TAN TO SIN
Count consecutive 0's in between values of 1
Fibonacci-Sum of Squares
Ugly numbers - 01
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office