A better description for this problem can be found at http://joonprogramming.blogspot.com/2016/04/google-code-jam-qualification-round-1a_17.html We have to find an NXN matrix, without repeating numbers at any row or column that must be ordered. And we have 2*N-1 strips of scrambled numbers, which can be rows or columns. The problem is to find what the missing strip is (notice that a NXN matrix has 2*N strips).
Back to basics 13 - Input variables
235 Solvers
Convert a vector into a number
506 Solvers
385 Solvers
117 Solvers
Create matrix of replicated elements
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!