Adobe interview question

Easy-Medium LC question, easier behaviorals afterwards