Persist Ventures interview question

Technical Interview( Regarding the Assignment you made)