Hello, Mohammad Abir Hassan Sarker. Are you perhaps still developing this Problem? There is one vital improvement that you will need to make, which is to ensure that you include several (at least four) tests within your Test Suite, each for a different set of inputs. One assertion is not sufficiently rigorous, as demonstrated in Solution 1489700. You can find some more thoughts on these matters at Problem 44521. Regards, DIV.
agree with D.V.
Thanks, yeah, it's just like you said, I was developing the problem, but things came up & couldn't make it better, sorry for that.
273 Solvers
Find the sum of the elements in the "second" diagonal
996 Solvers
Back to basics 22 - Rotate a matrix
767 Solvers
441 Solvers
361 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!