Grokking Data Structures & Algorithms for Coding Interviews
0% completed
Problem 3: Row With Maximum Ones(easy)
.....
.....
.....
Like the course? Get enrolled and start learning!
A
Anonymous
· 3 years ago
Despite the solution explanation tells maxOnexIdx variable will initialize with -1, the code is showing is starting with zero. What is expected behaviour if there is no Ones in 2D-matrix?
Show 1 reply
Reading Progress
0%