American Express interview question

3-4 Leet code easy difficulty live coding questions.