Fiserv interview question

Puzzles and basic codes