Zenefits Interview Question

behaviour, algorithm