Elkanodata interview question

a technical assignment needed to be done