Skip to content

Calculate the islands from the given matrix of 0s and 1s

Notifications You must be signed in to change notification settings

ijaniszewski/islands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

islands

Calculate the islands from the given matrix of 0s and 1s

Example of usage:

bash count_islands.sh "examples/ex1.txt"

or via Docker (just change the last line in Dockerfile)

RUN python src/main.py -f "examples/ex1.txt"

Python version

Python 3.7.6

Requirements needed just for tests ( pytest & numpy )

About

Calculate the islands from the given matrix of 0s and 1s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published