@@bmtran :D .....
this solution kinda fails on this test case ... %%
hm = [0 1 0 0 0 0 0 0 0 0 0 0 1
0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0];
Found out when I used your code for the best poker hand problem ... Cheers.
132 Solvers
266 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
173 Solvers
Who is the smartest MATLAB programmer?
571 Solvers
Count consecutive 0's in between values of 1
176 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!