This problem needs more test cases with the three of a kind appearing before the pair, such as:
1 0 1 0 0 0 0 0 0 0 1 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0
Find state names that end with the letter A
709 Solvers
Create a square matrix of multiples
383 Solvers
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
141 Solvers
149 Solvers
Generate a random matrix A of (1,-1)
211 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!