Visa Inc. Interview Question

Q1: two sum based. Q2: Priority queue based Q3 and Q4: to design new data structure using already available ones.