Visa Inc. interview question

Asked to build a function.