Elixir – Looping through and adding to map
This is a nice challenge to have and solving it will definitely give you some insight into functional programming. The solution for such problems in functional languages is usually reduce (often called fold). I will start with a short answer (and not a direct translation) but feel free to ask for a follow up. The … Read more