Visa Inc. interview question

Basic data structures and algorithms