Grokking Amazon Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Jorge Herrería
The last example is 8 not 6

Jorge Herrería

Jun 4, 2024

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

0

0

Comments
Comments