beautiful way to control the sequence.
but when it comes to: first='b',last='a', it seems bit of tricky...maybe plus a number less than 1?
@Bainhome Good catch.
Return the largest number that is adjacent to a zero
3753 Solvers
4346 Solvers
329 Solvers
250 Solvers
129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!