Electric Mind Interview Question

same as other comments posted