Question d’entretien chez Workiva

How would you improve on your approach to solving this coding problem?