Adobe interview question

Data Structures, Algorithms, Coding