Electric AI interview question

Coding Challenge