Ikigai Labs Interview Question

2 sums, one using hashmaps