Exa Data interview question

I forgot the details, but it's about basic coding concepts.