Edison interview question

Technical question