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).
So many choices
Project Euler: Problem 1, Multiples of 3 and 5
Back to basics 1 - Saving
Check if number exists in vector
Do Fast Fourier Transformation
GJam 2013 Veterans: Ocean View (Small)
GJam 2014 China Rd A: Read Phone Number (Large)
Hamming Weight - Size Scoring
Minimum Set (A+A)U(A*A) OEIS A263996
Solve Quadratic : No * - or key functions permitted
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