Problem 520. Choose the best fitting dominoes
Solution Stats
Problem Comments
-
3 Comments
this isn't a big deal, but you have inconsistent inputs for your test cases. cases 1 & 3 are 'row vector' cell arrays whereas case 2 is a 'column vector' cell array.
It would be good to amend the Test Suite in the following regards: (1) Add "%%" to the beginning of the first test case, so that Cody interprets it as intended. (2) Include more test cases: currently the twelve smallest 'correct' submissions are all hard-coded cheats. (3) Include test cases in which the minimum score is not zero. (4) Include test cases in which the number of dominoes to be placed "in a line" is not three. —DIV
And (5) Include test cases in which for a particular position there are more than 9 candidate dominoes available.
Solution Comments
Show commentsProblem Recent Solvers242
Suggested Problems
-
Back to basics 6 - Column Vector
1101 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
748 Solvers
-
Create matrix of replicated elements
395 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
397 Solvers
-
Area of an equilateral triangle
6768 Solvers
More from this Author51
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!