Visa Inc. Interview Question

The interviewer asked 3 puzzles and 1 software development question