Adobe interview question

Basic DSA and easy questions