Genesis Research interview question

I was asked to undergo coding test