Edison Interview Question

Technical question