Workday Interview Question

Technical question includes pythogorous theorem.