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).
How to find the position of an element in a vector without using the find function
Sum all integers from 1 to 2^n
Rotate a Matrix
03 - Matrix Variables 3
ICFP2021 Hole-In-Wall: Solve Problem 4, Score=0, Bonus GLOBALIST assumed
GJam March 2016 IOW: Polynesiaglot Medium
Unique: Faster for options 'rows' and 'stable' for large array of uint8
GJam March 2016 IOW: Cody's Jams
Rubik's Cube: 30 Moves or Less : Contest Scoring (Time/Size/Moves)
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