Problem 48055. Find the Pattern 8
Please, state that the problem requires four digits of precision. Adding a line in the problem description would already be a great tip.
Correct your test case 3 and 4. I've the same results, but still they show me "assertion failed".
@Md. Nayem, the test cases are in fact correct and your solution is incorrect, that is why it is showing "assertion failed".
@Dyuman, do you remember that the test cases can be seen clicking on them? I clicked on the test cases and matched their results with mine.
I think this is the probable reason mentioned in the following link.
Solution CommentsShow comments
Problem Recent Solvers133
Find relatively common elements in matrix rows
Return a list sorted by number of occurrences
Back to basics 23 - Triangular matrix
Flip the vector from right to left
Find the sides of an isosceles triangle when given its area and height from its base to apex
More from this Author180
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!