EXL Service Interview Question

puzzle about some weights