Visa Inc. interview question

Data structure and algorithm questions seen on leetcode or hacker rank