/ABBTech-SWE-T2

Task 2 solution

Primary LanguagePython

This is the solution for Task 2 of given problem set.
The solution for the task is wriiten in python3 runtime, with no external dependencies.

problem2.py file contains the necassary functions, and a placeholder array which is the same as given in the problem description:

if __name__ == "__main__":
	encodings = [[5, 4, 4],   	 
	[4, 3, 4],    
	[3, 2, 4],
	[2, 2, 2],
	[3, 3, 4],
	[1, 4, 4],
	[4, 1, 1]]

	country_count = getCountries(encodings)
	print(country_count)

To run the solution:

$python3 problem2.py