@@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.
357 Solvers
423 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
170 Solvers
3261 Solvers
Golomb's self-describing sequence (based on Euler 341)
108 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!