From 4c56468b55c2d59b90bbc4f6a57d815a045cabd1 Mon Sep 17 00:00:00 2001 From: Matt McDonagh Date: Fri, 12 Jun 2020 15:33:39 +0100 Subject: [PATCH] Adds challenge 2 (#2) * Adds challenge 2 --- README.md | 3 ++- challenge_2/README.md | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 challenge_2/README.md diff --git a/README.md b/README.md index 86db3d0..60d691b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # devops-challenges A collection of DevOps challenges for hiring at Zestia -* [Challenge 1](challenge_1/README.md) \ No newline at end of file +* [Challenge 1](challenge_1/README.md) +* [Challenge 2](challenge_2/README.md) \ No newline at end of file diff --git a/challenge_2/README.md b/challenge_2/README.md new file mode 100644 index 0000000..7681409 --- /dev/null +++ b/challenge_2/README.md @@ -0,0 +1,20 @@ +# Challenge 2 + +## Instructions +Using the scripting language or tools of your choice - Please provide a solution to create a CSV file containing a **full list** of countries obtained from the [REST Countries API](https://restcountries.eu) containing the following fields - + +| Country Name | Capital City | Region | Population Size | Number of Currencies | Number of Languages | +| --- | --- | --- | --- | --- | --- | +| Afghanistan | Kabul | Asia | 27657145 | 1 | 3 | + +For bonus points output to the console as many of the following statistics as possible - +* The country with the largest population +* The country with the most currencies +* The country with the most languages +* A count of countries per region + +## Solution Submission + +Please host your solution as a **private** repository and invite your interviewer as a collaborator. + +Any runtime dependencies should be specified. \ No newline at end of file