Nerada / challenges.win.countries

Analyzing a grid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Countries challenge Build Status

(Harvest_001) Analyzing a grid.

Details

A grid is divided into countries (numbers). Make an application that will show the total amount of regions on the grid. A region consists of all the coordinates that are directly linked (N,E,S,W) with other coordinates from the same country.

Example:
Country 1 has 3 regions.
Country 2 has 2 regions.
Country 3 has 4 regions.
Result should be 9.

About

Analyzing a grid.

License:MIT License


Languages

Language:C# 100.0%