PVH Corp. Interview Question

Technical questions on how to handle problem