9
Last seen 9 years ago
Member for 10 years, 6 months, 28 days
Difficulty Normal
Really nice solution in one line...had to do a bit of research on the use of max with a key....
More
The row[i] means that if row[i] == 1 then add one else reinitialize it to 0 right???
More
But in that link you gave there was an efficient implementation involving order static trees....you didn't use that one right?
More
bryukh, can you post th elink to your more efficient solution???Can't find it....
More
I used the same idea but without the lambda function ..... I used L.sort() instead of sorted
More