Affirm interview question

Build out an optimization tool