Problem 782. Some Assembly Required
Solution Stats
Problem Comments
-
6 Comments
The 16 in test case 4 should be a 6.
It's changed now. Good catch.
FYI: at this moment all solutions below score 150 are hard-coded ones
I've added some randomness to the test suite questions to stop the look-up tables from working properly. Thanks for the heads up on that. As you may have noticed, it's been a while since I submitted this problem!
Solutions aren't unique: f([1;2;3]) = {[1,2,3],[1,3,2],[2,1,3]}
Nice problem!
Solution Comments
-
1 Comment
It's quite challenging!
-
1 Comment
combvec is no longer usable in Cody? No more Neural Network toolbox, I guess.
Problem Recent Solvers76
Suggested Problems
-
Number of 1s in a binary string
5328 Solvers
-
5098 Solvers
-
Create logical matrix with a specific row and column sums
223 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
737 Solvers
-
Integer Sequence - II : New Fibonacci
392 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!