FloQast Interview Question

general algorithm, db structure, and API design questions