Apptentive Interview Question

Code to a problem and design questions