Skip to content
Finding a rectangle whose corners are 1's in a Boolean matrix
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
java
python
LICENSE
README.md

README.md

Boolean Matrix Rectangle Problem

Problem Statement

Find a rectangle whose corners are 1's in a Boolean matrix.

Example Instance

0 0 1 0 0 0 0 1

1 0 0 0 1 1 0 1

0 0 1 0 0 1 0 0

0 0 0 0 1 0 1 1

0 0 1 0 0 0 1 1

Example Solution

Rows 2 & 4

Cols 5 & 8

Runtime

Code

  • Java code by Michael Wehar

  • Python code by Joseph Swernofsky

License

  • MIT
You can’t perform that action at this time.