Github repository link for the code to see commits - https://github.com/rohetoric/IslandInWater
Publised on replit here - https://replit.com/@RohitBhardwaj5/IslandInWater?v=1
Steps to execute:
- From the shell script -
bash island_in_water.sh islands.txt
- From the terminal -
python3 island_in_water.py islands.txt
PS: I have written the Dockerfile as well to build the container and execute but would recommend executing from the shell script or the python script.