Square Yards Interview Question

I didn't face any difficulties in interview