Blue Yonder interview question

All about the Intern and Project. One DSA question in JavaScript (Easy)