It looks like there's an error in the test suite; test cases 3 and 4 have different length d and n vectors.
Oof! I hate it when that happens. Fixed it. Thanks for the note.
10153 Solvers
2418 Solvers
Arrange Vector in descending order
4284 Solvers
Duplicate each element of a vector.
521 Solvers
Is the paranthesis sequence balanced ?
90 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!