American Express interview question

Some multiple choice, some coding challenges