Citi Interview Question

data structure and algorithms basics