Visa Inc. interview question

Algorithms and DataStructure