deepset interview question

Technical test followed by code review