Grokking Amazon Coding Interview
Vote

0% completed

​

Largest Submatrix With Rearrangements (medium)

.....

.....

.....

Like the course? Get enrolled and start learning!
A

Anonymous

· 2 years ago

For the following matrix

[[1,1,0,0], [1,0,1,1], [1,1,1,1], [0,1,1,0]]

I can shuffle the columns to be

[[1,1,0,0], [1,1,1,0], [1,1,1,1], [1,1,0,0]]

wich gives me {0,0},{3,1} which is a 2cx4r = 8area

Reading Progress

0%


Vote for new content