Deepak Gupta interview question

Hr Questions were asked about logical thinking