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
Convert a vector into a number
Fill a zeros matrix
Create an 'arrow-head" matrix
Create matrix of replicated elements
Image Processing 002 : Fix Vignetting in a Visible Sensor
Criss_Cross_000 : Unique elements in a Square array
Mastermind I: Solve all 1296 cases
GJam 2015 Rd1B: Counter Culture
ismember: Enhanced Performance for 'rows' and width - Speed Scoring (66% savings)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office