Matrix with 0s 1s..rows in sorted order..get row with max 0s - java

Start from right top corner and then move towards left until 1 is encountered. Then traverse down until 0 is encountered and then again traverse left until 1 is encountered

Comments

Popular posts from this blog

EJB - Stateful vs Stateless

Inversion of Control vs Dependency Injection