Affirm interview question

Several algorithmic programming problems