WD interview question

Provide solutions for the current project