You test suite should be corrected as
assert(isequal(comb_gap(a,b),d_correct))
Thanks for the correction
ur problem description is quite vague
17233 Solvers
6730 Solvers
607 Solvers
Test if two numbers have the same digits
187 Solvers
Count consecutive 0's in between values of 1
164 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!