Rosetta Problems

Form a Chemical Bond

https://leetcode.com/problems/form-a-chemical-bond