Visa Inc. interview question

The interviewer asked 3 puzzles and 1 software development question