Con Edison Interview Question

Did not test ye. Here for information