Adobe interview question

Data Structures And Algorithms